Migration of credentials and/or domains between trusted hardware subscription modules

ABSTRACT

Systems, methods, and instrumentalities are disclosed that allow a user to initiate migration of a credential from one domain to another domain. A request to initiate a migration of credentials from a first domain to a second domain may be initiated by a user ( 1   a .). A remote owner may receive a message indicating that the migration has been requested. The message received by the remote owner may be an indication that the source and destination devices have performed internal checks and determined that a migration could proceed. The remote owner may evaluate source information received from the source device and destination information received from the destination device ( 6 ), ( 6   a .), ( 6   b .). Based on the evaluation of the source information and the destination information, the remote owner may determine that the migration is acceptable. The remote owner may send an indication to proceed with the migration ( 7 ), ( 7   a .)

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is based on, and claims priority to, U.S. Provisional Patent Application No. 61/309,569, filed on Mar. 2, 2010, the disclosure of which is hereby incorporated by reference in its entirety.

BACKGROUND

In the mobile communications industry today, wireless devices with which a user may subscribe to the services of a particular network operator typically include a Subscriber Identity Module (SIM) or Universal Integrated Circuit Card (UICC). The SIM/UICC provides a wireless device with a secure execution and storage environment from which to execute authentication algorithms and store credentials that enable the device to authenticate the device user's subscription with the network operator toward the network operator and allow the network operator to have some form of control, i.e., ownership, over the device. Unfortunately, this SIM/UICC mechanism typically is limited to use with a single network operator.

Thus, a problem in many computing contexts today, like the situation described above with mobile communications devices, is that the computing devices often are limited to being “owned” in the entirety by a single entity. And in many cases, that ownership must be established at the time of purchase of a device by a user, preventing business models in which it may be desirable to establish ownership at a later time. Furthermore, these limitations prevent use of the devices in situations in which it may be desirable for multiple ownership of a number of mutually isolated portions of the device to exist, or for ownership to be transitioned to other entities from time to time. For example, in the case of a wireless mobile communication device, such as a mobile telephone, users are typically required to subscribe to the services of a particular mobile network operator at the time of purchase, and such devices are often prevented from being used in applications where the mobile network operator may only be known some time after the purchase of the wireless device. Also, it is typically not possible for such devices to provide access to multiple operator networks at one time. Updating or changing mobile network and service subscriptions can be difficult, and doing so over-the-air is usually not possible.

Also, particularly in the context of wireless mobile communications devices, although the SIM/UICC mechanism is generally considered to be highly secure, the security is not linked strongly to security properties of the whole device on which it resides. This limits the application of scaling security concepts for advanced services and applications such as mobile financial transactions. In particular, these shortcomings are relevant for autonomous devices, such as, machine-to-machine (M2M) communication devices.

Accordingly, a more dynamic solution is desirable.

SUMMARY

Systems, methods, and instrumentalities are disclosed that may allow a user to initiate migration of a credential from one domain to another domain. The migration may take place in a system comprising one or more devices with one or more separate domains where each domain may be owned or controlled by one or more different local or remote owners. The one or more devices may comprise one or more domains supported by at least one platform. Each platform may provide low-level computing, storage, or communication resources for the domains. A platform may consist of some hardware, an operating system, some low-level firmware or software (such as boot codes, BIOS, APIs, drivers, middleware, or virtualization software) and some high-level firmware or software (such as application software) and respective configuration data for such resources. Each domain may comprise a configuration of computing, storage, or communication resources executing on the at least one platform and each domain may be configured to perform functions for an owner of the domain that may be located locally or remotely from the domain. Each domain may have a different owner, and each owner may specify policies for operation its domain as well as for operation of its domain in relation to the platform on which the domain resides and other domains. A remote owner offering a subscription-based service may have taken ownership of a domain, which may be referred to as a remote owner domain. Further, the user may have taken ownership of a domain, which may be referred to as a user domain.

A request to initiate a migration of credentials from a first domain to a second domain may be initiated. For example, a user of the source and destination devices may request that credentials associated with a remote owner domain on the source device be transferred to a remote owner domain on the destination device. The remote owner may receive a message indicating that the migration has been requested. The message received by the remote owner may be an indication that the source and destination devices have performed internal checks and determined that a migration could proceed. The message received by the remote owner may be an indication that the user initiated the migration request.

The remote owner may evaluate source information received from the source device and destination information received from the destination device. For example, the source information may include at least one of: a source policy, a source configuration, a source identification, or a source integrity indicator. The destination information may include at least one of: a destination policy, a destination configuration, a destination identification, or a destination integrity indicator. Based on the evaluation of the source information and the destination information, the remote owner may determine that the migration is acceptable. For example, the remote owner may determine that policies associated with the devices do not present a conflict to migrating the credentials. Such policy evaluation may include the policies of domains other than the source domain and the destination domain. The remote owner may send an indication to proceed with the migration.

Further checks may be performed by the source and destination devices. For example, the source device may evaluate a state of the destination device and the destination device may evaluate a state of the source device. The remote owner may receive a source completion message from the source device indicating that the migration has been completed that the source device destroyed the credential. The remote owner may receive a destination completion message from the destination device indicating that the migration has been completed and the credential was replicated on a domain of the destination device.

Other features of the systems, methods and instrumentalities described herein are provided in the following detailed description and accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an exemplary system in which the methods and instrumentalities described herein may be employed.

FIG. 2 illustrates one embodiment of a system in which the methods and instrumentalities described herein are embodied in a user equipment (UE).

FIGS. 3 and 3A illustrate an exemplary boot up and process for taking ownership of a domain.

FIGS. 4 and 4A illustrate an exemplary call flow diagram for a process of taking ownership of a domain.

FIGS. 5 and 5A illustrate an exemplary call flow diagram for a process of taking ownership of a domain with full attestation.

FIG. 6 illustrates exemplary state definitions, transitions, and control point definitions of one embodiment of a trusted hardware subscription module.

FIG. 7 illustrates exemplary states that remote owner domains may achieve and the conditions under which the transitions can occur in a dynamically managed environment.

FIG. 8 illustrates exemplary call flows implementing a registration and credential roll-out process.

FIGS. 9A and 9B illustrate exemplary call flows implementing credential migration.

FIG. 9C is a system diagram of an example communications system in which one or more disclosed embodiments may be implemented.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

FIGS. 1-9 may relate to exemplary embodiments in which the disclosed systems, methods and instrumentalities may be implemented. However, while the present invention may be described in connection with exemplary embodiments, it is not limited thereto and it is to be understood that other embodiments may be used or modifications and additions may be made to the described embodiments for performing the same function of the present invention without deviating therefrom. Further, the figures may illustrate call flows, which are meant to be exemplary. It is to be understood that other embodiments may be used. Further, the order of the flows may be varied where appropriate. In addition, flows may be omitted if not needed and additional flows may be added.

Systems, methods, and instrumentalities are disclosed that may allow a user to migrate a credential from one domain to another domain. The migration may take place in a system comprising one or more devices with one or more separate domains where each domain may be owned or controlled by one or more different local or remote owners. The one or more devices may comprise one or more domains supported by at least one platform. Each platform may provide low-level computing, storage, or communication resources for the domains. A platform may consist of some hardware, an operating system, some low-level firmware or software (such as boot codes, BIOS, APIs, drivers, middleware, or virtualization software) and some high-level firmware or software (such as application software) and respective configuration data for such resources. Each domain may comprise a configuration of computing, storage, or communication resources executing on the at least one platform and each domain may be configured to perform functions for an owner of the domain that may be located locally or remotely from the domain. Each domain may have a different owner, and each owner may specify policies for operation its domain as well as for operation of its domain in relation to the platform on which the domain resides and other domains. A remote owner offering a subscription-based service may have taken ownership of a domain, which may be referred to as a remote owner domain. Further, the user may have taken ownership of a domain, which may be referred to as a user domain.

A request to initiate a migration of credentials from a first domain to a second domain may be initiated. For example, a user of the source and destination devices may request that credentials associated with a remote owner domain on the source device be transferred to a remote owner domain on the destination device. The remote owner may receive a message indicating that the migration has been requested. The message received by the remote owner may be an indication that the source and destination devices have performed internal checks and determined that a migration could proceed. The message received by the remote owner may be an indication that the user initiated the migration request.

The remote owner may evaluate source information received from the source device and destination information received from the destination device. For example, the source information may include at least one of: a source policy, a source configuration, a source identification, or a source integrity indicator. The destination information may include at least one of: a destination policy, a destination configuration, a destination identification, or a destination integrity indicator. Based on the evaluation of the source information and the destination information, the remote owner may determine that the migration is acceptable. For example, the remote owner may determine that policies associated with the devices do not present a conflict to migrating the credentials. Such policy evaluation may include the policies of domains other than the source domain and the destination domain. System level policies may determine potential conflicts between the source and destination policies and those of other domains on the source and destination devices. The remote owner may send an indication to proceed with the migration.

Further checks may be performed by the source and destination devices. For example, the source device may evaluate a state of the destination device and the destination device may evaluate a state of the source device. The remote owner may receive a source completion message from the source device indicating that the migration has been completed that the source device destroyed the credential. The remote owner may receive a destination completion message from the destination device indicating that the migration has been completed and the credential was replicated on a domain of the destination device.

I. Example Multi-Domain System

FIGS. 1-7 may relate to exemplary embodiments in which the disclosed systems, methods and instrumentalities may be implemented. However, while the present invention may be described in connection with exemplary embodiments, it is not limited thereto and it is to be understood that other embodiments may be used or modifications and additions may be made to the described embodiments for performing the same function of the present invention without deviating therefrom.

An exemplary system in which the disclosed systems, methods and instrumentalities may be implemented comprises one or more devices, each of which may comprise one or more domains supported by at least one platform. Each platform may provide low-level computing, storage, or communication resources for the domains. A platform may consist of some hardware, an operating system, and other low-level firmware or software (such as boot codes, BIOS, and drivers) and respective configuration data for such resources. Each domain may comprise a configuration of computing, storage, or communication resources executing on the at least one platform and each domain may be configured to perform functions for an owner of the domain that may be located locally or remotely from the domain. Each domain may have a different owner, and each owner may specify policies for operation its domain as well as for operation of its domain in relation to the platform on which the domain resides and other domains.

Each domain may be isolated from other domains, with respect to computing, storage, or communication resources (from the input point of view) or functionalities that the domain provides by using such computing, storage, or communication resources (from the output point of view). Each domain may draw on computing, storage, or communication resources or functionalities of a common underlying platform. Some domains may share some of such functionalities provided by the common platform. Such sharing of platform resources and/or functionalities may be done in a way that each domain's use of the common resources or functionalities may be isolated from another domain's such use. For example, such isolation may be achieved by the platform of the device enforcing a strict access control to the resources it provides to each of the domains so that any access to the resources of a domain may be allowed only to the user(s), owner(s), or other entities or processes external to the domain that are authorized by the platform and/or the domain's owner. A platform may also simply consist of the part of the device that is not part of any of the isolated domains on the device, in so far as any of the domain's functionality depends on the resources of the device that is outside of any of the domains on the device.

Communication between any two domains on the same or different platforms, or on same or different devices, may be made secure, meaning that the domains may be able to authenticate each other in a secure way (e.g. by using cryptographic means), and also to protect the messages exchanged between them for such security aspects as confidentiality, integrity, and freshness. Cryptographic means provided by the platform(s) on which the domains reside may be used to provide such secure communication between any such two domains.

A system-wide domain manager may be resident on one of the domains. The system-wide domain manager may enforce the policies of the domain on which it is resident, and it may coordinate the enforcement of the other domains by their respective policies in relation to the domain in which the system-wide domain manager resides. Additionally, the system-wide domain manager may coordinate interaction among the other domains in accordance with their respective policies. The domain in which the system-wide domain manager resides may be owned by the owner of the device that houses the domain. Alternatively, such a domain may be owned by an owner who may not own the device that houses the domain.

FIG. 1 illustrates one embodiment of such a system. As shown, the system may comprise one or more devices 100, 110 and 120. Each device may comprise one or more domains supported by at least one platform. For example, device 100 may comprise a domain 106 and one or more other domains 101, 102. While three domains are illustrated for device 100, in other embodiments the number of domains may be more or less. Each of those domains 101, 102, 106 may comprise a configuration of computing, storage, or communication resources executing on at least one platform 105 of the device. Each domain may be configured to perform functions for an owner of the domain that may be located locally or remotely from the domain. For example, the domain 106 may be owned by the device owner (not shown), whereas the domains 101, 102 may be owned by one or more remote owners. Each domain may have a different owner, or more than one domain of the device may be owned by the same owner. Each owner may specify policies for operation its domain as well as for operation of its domain in relation to the platform on which the domain operates, the device in which the domain resides, and other domains within the same or different device.

As mentioned, the system may also include other devices on which other domains reside. For example, device 110 may include domains 111 and 112, each of which may be owned by the same remote owner. Of course, each of the domains 111 and 112 could instead each be owned by a different owner. Each of the domains 111, 112 may comprise a configuration of computing, storage, or communication resources executing on a platform 115 of the device 110. Similarly, device 120 may include domains 111 and 112. As shown in this example, each of those domains may be owned by a different owner. Alternatively, those domains could be owned by the same owner. Again, each of the domains 121, 122 may comprise a configuration of computing, storage or communication resources executing on a platform 125 of the device 120.

A system-wide domain manager (SDM) 107 may be resident on one of the domains. In this example, the SDM 107 resides on domain 106 of device 100. In one embodiment, the domain on which the SDM resides (e.g., domain 106) is owned by the owner of the device 100. The SDM 107 communicates with the remote owner domains 101 on device 100 via communication mechanisms provided in the device 100. Additionally, the SDM 107 communicates with the domains on other devices via respective communication channels 131, 132, 141, 142 which may be wired or wireless channels. The communication channels 131, 132, 141, and 142 may be secure. The SDM 107 may enforce the policies of the domain 106 on which it is resident, and it may coordinate the enforcement of the other domains 101, 111, 112, 121, 122 by their respective policies in relation to the domain 106. Additionally, the SDM 107 may coordinate interaction among the other domains in accordance with their respective policies as well as the policy of the domain (which would be the policy of the owner of that particular domain) in which the SDM resides.

As an example, in one embodiment, a domain may be owned by a service provider. For example, domain 102 of the device 100 may be owned by a service provider, such as, by way of example only, a mobile network operator. The domain 102 may perform a subscriber identity module (SIM) function to authenticate the device 100 or, in some cases equivalently, the subscription of the owner or user of the device, toward the service provider in order to enable communications between the device 100 and the service provider.

In addition to the functions of the SDM described above, the SDM 107 may access information and provide a list of resources available for use by said one or more domains. The SDM 107 may also supervise the loading and maintenance of domains owned by remote owners. The SDM 107 may provide a user of the device 100 in which it resides with a list of domains that it is capable of loading and may request that the user choose which of the listed domains to load. The SDM may also evaluate whether there are sufficient computing resources on the platform or the device to load, and thus support the operation of, one or more domains.

As also mentioned above, the SDM 107 may take part in enforcing its own polic(ies), which may be referred to herein as a system-wide domain policy (SDP), as well as the polic(ies) of the other domains, i.e., domain-specific policies (DPs). The SDM 107 may consider policies of one or more existing domains when evaluating whether to load a new domain. For example, a policy of a given domain owned by a remote owner may specify that the given domain be rendered inactive when a certain type of other domain becomes active. In another example, a policy of a given domain owned by a remote owner may specify that the given domain be rendered inactive when another domain owned by a certain other remote owner becomes active. In yet another example, a policy of a given domain owned by a remote owner may specify that operation of the given domain be limited in some specific way(s) when a certain type of other domain becomes active. In a further example, a policy of a given domain owned by a remote owner may specify that operation of the given domain be limited in some specific way(s) when another domain owned by a certain other remote owner becomes active. The SDM 107 may be responsible for enforcement of all of these types of policies.

The SDM 107 may also establish or load domains for which remote owners may take ownership at a later time. For example, such a domain may be established in a state, referred to herein as a “pristine” state, in which it is not owned by any owner, and, the SDM 107 may manage the establishment of ownership of the domain by a remote owner.

To that end, the SDM 107 may transmit information to a remote owner that the remote owner may consider in determining whether to establish ownership of the domain. The information may include at least one of (i) information attesting to an integrity of the domain for which ownership is sought; and (ii) information attesting to an integrity of at least one other domain of the system. The information may also include (i) information attesting to an integrity of the platform using whose resources the domain for which the ownership is sought for operates; and (ii) information attesting to an integrity of the platform using whose resources at least one other domain of the system operates. In addition, the information may include information concerning a current environment of the device. Such information may include at least one of: (i) a value indicating a number of other domains in the system; (ii) information providing a summary nature of other domains in the system; and (iii) information specifying resources of the platform available for use by the domain for which ownership is attempting to be established. The degree to which information is provided to the remote owner about other domains of the system may be conditioned on the respective policies of those other domains with respect to confidentiality and/or isolation.

After a remote owner takes ownership of a domain, the remote owner may exercise a degree of control over the domain. For example, after a remote owner establishes ownership of a domain, the domain may receive from the remote owner at least one of cryptographic keys, configuration information, parameters and executable code to increase the functionality of the domain. In another example, after a remote owner establishes ownership of the domain, the domain may receive its domain-specific policy from the remote owner.

The system disclosed herein may also provide for isolation and security of one or more domains. For example, one or more of the domains may comprise a secure execution and storage environment that is isolated from other domains. To achieve such a secure environment, the platform of a device on which one or more domains is established, such as the platform 105 of device 100 in FIG. 1, may comprise a root of trust 103. The root of trust 103 may comprise an immutable and immovable set of hardware resources, the integrity of which is pre-established and can be relied upon by others, including a remote owner of a domain. An integrity of a domain, such as domain 101, may be established by a chain of trust anchored by the root of trust 103. For example, an integrity of the domain 101 may be established by comparing a measurement of at least one component of the domain 101, which measurement may be generated by the root of trust 103, to a reference integrity metric, which may be stored in the root of trust 103 and used by the root of trust to verify the integrity of the domain. Alternatively, the reference integrity metric may be stored by a remote owner, and the measurement may be transmitted to the remote owner for comparison with the reference integrity metric. The integrity of the domain may be verified if the measurement matches the reference integrity metric. In one example embodiment, the measurement may comprise a hash computed over the component, and the reference integrity metric may comprise a hash previously computed over the component and accompanied by a digital certificate that provides an indication of authenticity of the reference integrity metric. A reference integrity metric may be pre-provisioned into the device at the time of manufacture or at the time of the delivery of device to its owner. A reference integrity metric may also be delivered from a remote source over a communication channel (e.g. an over-the-air wireless communication channel) after the manufacturer/supply of the device to its owner and provisioned into the device after delivery. A reference integrity metric may be delivered to the device enclosed in a certificate. Such a certificate may be verified by a trusted third party for use after its delivery to the device.

The system disclosed herein, and its various methods and instrumentalities, may be embodied in a wide variety of computing and communications contexts. Accordingly, the devices of the system, such as the example devices 100, 110 and 120 of FIG. 1, may take a variety of forms. By way of example, and without any limitation, a device of the system may comprise a wireless transmit/receive unit (WTRU), a user equipment (UE), a mobile station, a fixed or mobile subscriber unit, a pager, a cellular telephone, a personal digital assistant (PDA), a computer, a machine-to-machine (M2M) device, a SIM card, a Universal Integrated Circuit Card (UICC), a smart card, a geo-tracking device, a sensor-network node, a metering device (such as a water, gas or electricity meter), or any other type of computing or communication device capable of operating in a wireless or wired environment. The following figures and description provide a number of additional example embodiments of the systems and methods of this disclosure in a wireless transmit/receive unit (WTRU). It is understood, however, that these embodiments are merely exemplary, and the systems and methods disclosed herein are by no means limited to those embodiments. Rather, as described above, the systems and method described herein may be employed in a wide variety of computing and communications environments.

FIG. 2 is a diagram illustrating one embodiment of a WTRU in which the systems and methods described herein may be embodied. As shown, the WTRU may comprise a mobile device, such as UE 200. UE 200 may comprise Mobile Equipment (ME) 210 and a Trusted Hardware Subscription Module (THSM) 220. In addition, THSM 220 may further comprise a THSM Device Manufacturer (DM) Domain 221, a THSM Device Owner (DO) Domain 222, a THSM Device User (DU or U) Domain 223, a System-Wide Domain Manager (SDM) 230, an Inter Domain Policy Manager 240 and one or more Remote Owner (RO) Domains, such as RO's Domain A 224, RO's Domain B 225 and RO's Domain C 226. Further, UE 200 may comprise the following non-illustrated components: a processor, a receiver, a transmitter and an antenna. The exemplary implementations described herein may refer to components such as those described in relation to FIG. 2.

A THSM may be a hardware-based module that provides trusted subscription management functions, including those typically performed by SIM functions, USIM functions, ISIM functions, and access network subscriptions. The THSM may be a hardware-protected module. It may include hardware that is specifically designed with relevant security features. It may be capable of internally supporting multiple isolated domains. A domain may be claimed or owned by a distinctive owner called a Remote Owner (RO). A domain claimed by a RO may act as a proxy for the respective RO.

One or more of the domains may perform subscription management functions, such as Trusted Subscription Identity Management (TSIM). Since multiple domains with TSIM functionality may exist on a single THSM, a THSM may support subscription management for multiple ROs. Some aspects of the management of TSIM-capable domains may be performed by a single managing function called System-wide Domain Manager (SDM). Other aspects may be managed individually within and on an individual domain.

Although described in terms of a Universal Mobile Telecommunication System (UMTS) environment, one skilled in the art may recognize that the methods and apparatuses described herein are applicable to other environments without exceeding the scope of the application. TSIM may be a representative example of a “subscription application.” For example, if implemented on a WTRU that operates in a 3G UMTS network, the TSIM may include, as part of its functionality, all of the subscription related functions, including the UMTS authentication and key agreement (AKA) functionality. The TSIM may not be bound to a specific hardware, such as the UICC. This is in contrast with a USIM, which can only exist on a UICC. Instead, a TSIM may be implemented on a Trusted Hardware Subscription Module (THSM) as described herein. One skilled in the art would also recognize that the functionality of a THSM as described herein may be incorporated in a UICC or a similar smart card, such as a UICC that conforms to European Telecommunications Standards Institute (ETSI) UICC requirements or a smart card that conforms to the Global Platform specifications, without exceeding the scope of the application.

A WTRU may include a THSM and a mobile equipment (ME). The ME may include a modem, a radio, a power supply, and various other features typically found in a WTRU. The THSM may include a separate hardware-based module. The THSM may be embedded on the WTRU or it may be independent. The THSM may be logically separate from the ME even if it is embedded on the WTRU. A THSM may include one or more domains, each owned by a particular Owner of the domain and operated for the benefit of the owner to provide secure, trusted services and applications. Therefore, for example, a DM's Domain may be denoted as T_(DM), and the DO's domain as TD_(DO). Domains in a THSM may perform security-sensitive functions and applications that may not be safe or convenient to perform in the ME.

Some domains may be owned and managed by one or more service providers. For example: mobile network operators (MNO)s; other communication network operators, such as, wireless local area network (WLAN) providers, or WiMax providers; application service providers, such as, service providers in mobile payment, mobile ticketing, digital rights management (DRM), mobile TV, or location-based services; or IP Multimedia Core Network Subsystem (IMS) service providers. Subscription management may be supported by domains that are owned by service providers. For simplicity, subscription management functions implemented on a THSM domain may be denoted TSIM functions hereinafter. Support for TSIM functions may vary by domain. For example, supported TSIM functionality may include functions that are similar to those provided by the USIM and ISIM applications on the UICC on a mobile terminal. A THSM may, like a UICC, include functionality, applications, and data in addition to what is provided by the TSIM.

A TSIM may be a software unit or virtual application. A TSIM may initially have no credentials associated with a particular network operator or Public Land Mobile Network (PLMN). A TSIM may refer to management of subscription credentials/applications for a UMTS cellular access network. For example, the TSIM may include management of a strong secret (Ki), such as a UMTS authentication key. In the M2M context, a TSIM may also include a M2M Connectivity Identity Management (MCIM).

The THSM may include a Core Root of Trust (RoT) of Measurement (CRTM) unit similar to a root of trust of measurement (RTM) that can be found in a computing device that has a trusted platform module (TPM) or a mobile trusted module (MTM). The THSM's CRTM may measure the integrity of the THSM boot code at, for example, the THSM's boot time. The integrity metric may be computed through Extend operation, for example, by applying a cryptographic digest value operation on the THSM's boot code, BIOS, and, optionally, a manufacturer's characteristics of the THSM, such as a Version number, Software configuration, or release number. For example, the integrity metric may be computed using a version of a cryptographic hash algorithm, such as SHA-X.

The THSM may include a core RoT of Storage (CRTS) unit, similar to a root of trust for storage (RTS) found in a TPM or a MTM, configured to store integrity metrics in protected storage. The THSM may also include a Core RoT of Reporting (CRTR) unit, similar to a root of trust for reporting (RTR) found in a TPM or a MTM, configured to report the THSM's integrity measurement to external challengers.

Thus, the THSM may effectively provide capability similar to that of a TPM or a MTM in terms of trust measurement, storage, and reporting. A THSM may also include the capability to realize the multiple trusted stakeholder engines. Further, the THSM may be configured to realize respective multiple-stakeholder trusted subsystems. Therefore, the THSM may be similar to a trusted mobile phone as defined by the TCG Mobile Phone Working Group (MPWG) specifications.

The THSM may be configured to build multiple internal “stake-holder domains” using, for example, the Core RoT capabilities described herein. A stakeholder may be the THSM Device Manufacturer (DM), the THSM Device Owner (DO), or the THSM Device User (DU). The DU may be the same as the DO or may be distinct from the DO. There may be more than one DU per THSM. A stakeholder may also be a different remote owner (RO) of domains that are specifically leased or owned by the DO. For example, a third generation partnership project (3GPP) PLMN operator, such as a MNO, an IMS service provider, a non-3GPP access network operator, or a value-added application service provider, may be a stakeholder.

Some domains may be mandatory, in which case they may be pre-configured at manufacture time of the THSM. For example, the DM's domain may be mandatory and it may be built or loaded at boot time according to a pre-configured file. The DO's domain may also be mandatory and it may be built to a pre-provisioned configuration. Alternatively, the domain may be built according to a configuration file that is downloaded.

Domains other than the DM's domain may be subject to a Remote Take-Ownership (RTO) process before they can be “claimed” and “owned” by the domain's owner. Before a specific domain has gone through a RTO process, a “pristine” domain for a non-specified owner may exist. In this case, there is no specific ownership claimed for the domain.

A domain on the THSM may communicate and exchange information with the ME via a THSM-ME interface. For example, a domain may communicate with the ME during a boot-up or RTO process. Protection of data exchanged over the THSM-ME interface may be required.

Integrity protection of all communications across the THSM-ME interface may be required. For example, integrity protection may use cryptographic keys, such as, pre-provisioned temporary keys or keys that are exchanged by using authenticated key exchange mechanisms. The cryptographic keys may be symmetric, such as Ktemp_I, or asymmetric, such as Kpub/priv_THSM_temp_I for public or private keys used by the THSM for integrity and Kpub/priv_ME_temp_I for public or private keys used by the ME for integrity. Temporary keys may be used for the protection of the interfaces. For example, a temporary key may be associated with a validity period, or may be used one time, or a predetermined number of times.

The confidentiality of communications across the THSM-ME interface may also be provided using cryptographic means. Pre-provisioned temporary keys or keys that are exchanged by using authenticated key exchange mechanisms may be used. Cryptographic keys may be symmetric, such as, Ktemp_C for ciphering, or asymmetric, such as, Kpub/priv_THSM_temp_C for public or private keys used by the THSM for ciphering, and Kpub/priv_ME_temp_C for public or private keys used by the ME for ciphering. The RTO methods and apparatuses described herein refer to the use of pre-provisioned symmetric temporary keys for simplicity. However, one skilled in the art would recognize that other key implementations may be used without exceeding the scope of the application.

Prevention against replay attacks with respect to messages passed in the clear between the THSM-ME with RO's may be provided. Each message sent over the THSM-ME interface may possess a freshness quality with the use of a nonce. For simplicity, the RTO protocols described herein may include anti-replay protection of all messages being exchanged across the ME-THSM interfaces; however, one skilled in the art would recognize that other interface protection configurations may be used without exceeding the scope of the application.

Signatures may be applied to hashes. For example, hashes may be produced by the SHA-X algorithm. A trusted third party may certify, using a certificate (Cert_(TSIM)), a private-public key pair, such as K_(TSIM-Priv) and K_(TSIM-Pub), associated with the THSM. The trusted third party may also certify, using a certificate (Cert_(RO)), another set of keys, such as K_(RO-Priv) and K_(RO-Pub), associated with the network. These certificates may be stored in the protected storage allotted to the domain in question.

A public key, K_(RO-Pub), may be used by the THSM platform, specifically the TSIM, to verify signatures from the RO or to encrypt messages sent to the RO. The private key, K_(RO-Priv), may be used by the network for signing purposes and to decrypt messages encrypted by the TSIM using the corresponding public key. The public-private key pair, K_(TSIM-Pub) and K_(TSIM-Priv), may include similar functions, except that the roles of the TSIM and the RO are switched. Alternatively, there may be separate key pairs for encryption and signing, at both the RO and the TSIM.

The key pairs K_(RO-Priv) and K_(RO-Pub), and K_(TSIM-Priv) and K_(TSIM-Pub), may depend on the particular network service selected by the owner, the user, or both. Each service provider, such as an RO, may have its own certified public-private key pair for each domain on the THSM associated with that provider. The selected service may determine which set of key pairs is used. For example, the set of public private key pairs may be determined by the selected service provider and the associated domain on the THSM. There may be no negotiation of the key pair used. The public or private key pair may be determined by the service provider and may be tightly associated with the THSM subsystem or domain.

The THSM TD_(DO) may configure a “System-wide Domain Manager” (SDM). The SDM may protectively store a pre-configured file including a “System-wide Domain Policy” (SDP). The SDM may build or load the RO's domains for the THSM according to the SDP. The SDM may be included in a pristine configuration of the DO's domain. The SDM may use a pre-configured SDP to determine which other domains should be built, and in what order.

The SDM, on behalf of and when requested by a RO domain, may prepare and furnish a THSM Platform Environment Summary (TPES) and a THSM Platform Integrity Attestation (TPIA). A TPES may describe summary information about the most current “environment” of the THSM. Such information may include the number and summary nature of the domains, as conditioned or allowed by the respective domain policies with regard to confidentiality and isolation, on the THSM and any remaining resources on the THSM that may be available for communication and sharing of functions or resources with the requesting domain. A TPIA may include a collection of Integrity Attestations on one or more of the domains of the THSM. A TPIA may also include Integrity Attestations for the platform that supports the said domains. A TPIA may be used to attest to the trust state of the domains of interest and the platform which supports those domains to an external verifier, such as an RO that is interested in performing an RTO process for a pristine domain on the THSM. An RO, or the RO's domain (TD_(RO)), may request the SDM for the TPIA. The SDM may oblige or reject the request according to the SDP.

The SDM may also interact with a Physically Present Device Owner, such as service personnel, of the THSM to interactively identify other domains that should be built and in what order. Moreover, the SDM may also request the User's domain to interact with a physically present user of the THSM to provide input for the domains to be built and the build order. This information may be used as input in the domain build process.

The THSM, when it performs RTO processes for an RO's domain, may be configured to achieve four distinct system states before the completion of the remote take-ownership protocol. The THSM Pre_Boot system state may indicate that that the THSM has not been “powered-on.” The THSM_TD_(DM) _(—) LOAD_COMPLETE system state may indicate that the DM's domain on the THSM has been built or loaded as the first step after power-on of the THSM. The THSM_TD_(DO) _(—) LOAD_COMPLETE system state may indicate that the DO's domain (TD_(DO)) was built or loaded to a last-configuration-available. This “last configuration available” may be a “pristine” configuration, if the DO's domain has never gone through an RTO process for itself, or, a “post-RTO” configuration. The DM's domain may build or load the DO's domain. Before the DO's domain goes through at least one RTO process, the DO's domain may be in a “pristine” state, and may not be claimed or owned by any specific DO. The “pristine” domain may include a “shell.” The first time that the DO's domain is built or loaded, the “last configuration available” (referred to here and after as Last-Configuration) comes from Pre-Configured Files. Alternatively, if the “Last Configuration” is due to an RTO process for the RO's domain, the particular domain on the THSM may have gone through a remote take-ownership protocol at least once and the remote owner may have taken ownership of the TSS_(RO). This may indicate the trusted subsystem that has been configured on the platform upon remote take ownership completion. When or before this state is reached, the particular RO may begin performing other tasks.

The THSM_TD_(RO) _(—) LOAD_COMPLETE system state may indicate that the RO's domain (TD_(RO)) was built or loaded to the last configuration available. This “last configuration available” may be a “pristine” configuration if the RO's domain has never gone through an RTO process for itself, or, may be a “post-RTO” configuration. The DM's domain may build or load the RO's domain. Before the DO's domain goes through at least one RTO process, the DO's domain may be in a “pristine” state, and may not be claimed or owned by any specific DO. The “pristine” domain may include a “shell.” The first time that the RO's TD is built or loaded, the Last-Configuration may come from Pre-Configured Files.

Alternatively, if the Last Configuration is due to an RTO process for the RO's TD, the particular TD on the THSM may have gone through a RTO protocol at least once and the RO has taken ownership of the TD_(RO). This indicates the trusted subsystem that has been configured on the platform upon RTO completion. By the time this state is reached, the particular RO may begin performing other tasks. If the RO's TD (TD_(RO)) is a MNO's TD, then, by this stage, the MNO's TD may provide the eventual Trusted Subscription Identity Management (TSIM) functionality realized on that TD_(RO).

Alternatively, the System-wide Domain Manager (SDM) may be implemented in the DM's TD, rather than the DO's TD. The DO, after providing proper authorization data to the DM's TD, may use the SDM provided by the DM's TD to perform the task of creating, loading, and otherwise managing the various remote-owner TDs on the THSM. The details of the THSM system boot sequence and the RTO process sequence of this case may differ from those described herein, but are within the scope of the application. The boot-up and RTO processes for this case, as well as a description of how the DO or the DO's TD may use the SDM provided by the DM's TD, for example, what kind of authorization data may be provided (and how it may be provided) may be similar to those described herein. For example, a THSM embodied as a smart card may include a Card Manager, with functions supporting the Card Manager functionality specified by such standards as Global Platform, which is responsible for managing Security Domains on the card, on behalf of the Card Issuer. The Card Issuer may be similar to a DM, and the Card Manager may include some of the functionality of the SDM. Therefore, the Card Manager may be similar to the SDM held in the DM's domain.

In a first embodiment, the ME may be configured to provide secure boot capabilities, and the THSM may be configured to provide full MTM capabilities. At power-on, the ME may securely boot. For example, the ME may perform a Non-TCG “secure” boot, such as per the open mobile terminal platform (OMTP) trusted execution environment TR0 specification. At boot time, the THSM may first build, for example by booting-up, the THSM DM's domain (TD_(DM)), and then build the “pristine” THSM DO's domain (TD_(DO)). If the DO and DU are separate, THSM may also build the THSM DU's domain.

The THSM TD_(DM) may be built initially with pre-configured files protected in the THSM and made available at boot time. The THSM TD_(DO) may be built largely with pre-configured files but may also be built using an RTO process. The THSM TD_(DO) may go through a RTO protocol. This protocol may take the same form as the RTO protocol for the RO's domain (TD_(RO)) or it may be a different protocol. If the THSM TE_(DO) does not go through a RTO protocol, the credentials needed to take ownership are pre-configured and pre-provisioned. The THSM TE_(DO) may be owned by the DO. A DO may be an actual human user or owner, an organization such as an enterprise or its Information Technology (IT) department, or a remote Network Operator (NO).

The THSM TD_(U) may be built with a pre-configured file pre-provisioned in the THSM TE_(DO). The THSM's RO domain may be first built to a “pristine” configuration, according to the system-wide domain policy (SDP) of the THSM DO. The THSM's RO domain may go through a RTO process with the RO. The SDM of the DO's domain may manage the RTO process for the RO's domain, according to the SDP. If the THSM's RO is an MNO, so that the RO's domain is a MNO's domain, such a MNO's domain may also go through protocols that define i) how the MNO's domain can be registered to the MNO; ii) how subscription credentials (e.g. USIM or MCIM secret key Ki's and International Mobile Subscriber Identity (IMSI), etc) can be rolled-off from an MNO's mobile network to the MNO's domain on a THSM and then provisioned there; and iii) how once downloaded subscription credentials, functionality that handles or uses such credentials, or even the domain that provides subscription management functionality, may be migrated from one device to another. Such protocols may be referred to as i) a registration protocol; ii) a credential roll-off protocol; and 3) a migration protocol, respectively. The THSM's RO domain, after RTO is completed, may attest and report to the RO its own configuration.

In the first embodiment, where a trust-building mechanism of the ME may be limited to performing a power-up time secure boot process, the ME configuration may not be further attestable by the ME or the THSM. Alternatively, the ME may perform a self-integrity check and produce an integrity value (IV) as it completes a secure boot. The ME may install software, such as engines for confidentiality and integrity protection, as per security mode features, such as UMTS security mode features, using an over the air (OTA) method. Optionally, when ownership of the RO's domain is taken via a RTO process with the RO, the RO may download or otherwise import and then assert its own policy regarding the conditions of the THSM that it may accept in order to allow the RTO process to complete. The RO's may be configured to “gate-keep” installing the domain for itself on the THSM platform when the RO agrees to the conditions of the overall THSM, the conditions of the building structure of the THSM's other domains, or both. Thus, as part of the RTO process, the RO may exchange some information with the SDM of the DO's domains to identify conditions or “domain-building plans” of the DO, and allow the RTO process to complete only if such conditions are acceptable to the RO. The RO domain may also have rights and may be configured to perform functionality to enforce such rights to allow it to be updated with, or notified of, any changes in the condition or domain building plan of the THSM after it has agreed to build its RTO-complete RO's domain on the THSM initially. The RO's domain-specific policy (DP) may specify the type of changes that the RO's domain may need to be notified of.

The SDM may initiate the RTO process for a RO domain associated with an intended RO. This may take place when the RO's domain is in a “pristine,” “unclaimed” state. For example, the RO's domain may be named “Domain X” (TD_(x)) by the DO's domain and the DO. The domain may be created in an as-yet-unclaimed shell or a “pristine” condition. In such a case, the SDM can initiate an RTO process whereby it contacts the intended RO, on behalf of the domain TD_(X). Once the RO has gone through an RTO process for this domain, the SDM may no longer initiate another RTO process for this same domain. Instead, the RO itself may initiate another kind of take-ownership process on this particular domain. Such a take-ownership process may differ from the RTO process specified so far, in that the former may be initiated remotely by the remote owner rather than locally by the owner/user of the device or the device itself (possibly under the coordination of the SDM or the DO's domain). The DO may retain authority to delete, destroy, or disconnect any RO's domain, even after the RO's domain has gone through an RTO process and is thus “claimed” or “owned” by the proper RO. However, the DO may, in general, not be able to know secrets stored within the RO's domain, or to know the interim computations or functions performed within the RO's domain.

Before the SDM initiates the RTO process for a pristine RO's domain, it may look up a list of available resources for domain building. The list may be held by the DM's domain. The SDM may also look up a “Desired Domains” list. The desired domains list may be held in the DO's domain TD_(DO). The SDM may also look up the System Domain Policy (SDP), and the current state, including trust states, of the existing domains of the THSM and of the platform, which may be available for query from the DM's domain. This information may be used to decide if the desired RTO process for the particular RO's domain is possible under the available resources and policy, desired under the Desired Domains list, and allowed under the state, for example the trust state, of the existing domains of the THSM.

Alternatively, a remote owner's domain (TD_(RO)) may start and manage the RTO process on its own. The TD_(RO) may be unclaimed and in a “pristine” condition before the RTO process. The “pristine” RO's domain TD_(RO) may include pre-configured functionality that enables it to contact its intended RO upon boot up, and to start the RTO process autonomously. Optionally, the RTO process may be started after getting TD_(RO) prompts the owner or user of the THSM and then gets a “nod” from the owner or user of the THSM to initiate the RTO process. A domain TD that was created and intended to be owned by a (target) remote owner RO_target but has not yet been owned via a RTO process and is still in a “pristine” state may be referred to as TD_(RO) _(—) _(target)* hereinafter.

In another alternative, the TD_(RO) may have gone through at least one RTO process with the particular RO and it may be currently “claimed” or “owned” by the RO. Whether the DO or its proxy on the THSM, such as domain TD_(DO), may be allowed to start another RTO process for the same RO's domain may depend on the policy of the RO and/or the policy of the SDM. The SDM may examine the purpose of the RTO and, based on allowable purposes or activities within it policy structure, may decide whether to allow such a new RTO to proceed. The RO, via remote signaling, or the RO's domain (TD_(RO)), may initiate another RTO process for the domain with the same RO. This may take place when the RO needs to update configuration files, security policies, or executable code, in the TD_(RO). The RO may download updates. Updates may be done over a non-RTO, over the air (OTA) update process. However, in some cases, the RO or the TD_(RO) may use another RTO process to update some files or code.

When a “pristine” TD_(RO) initiates the RTO process for itself, it may need to depend on the SDM to look up a list of available resources for domain building, which may be held by the DM's domain. The TD_(RO) may also rely upon the SDM to look up a “Desired Domains” list, which may be held in the DO's domain, a System Domain Policy (SDP), and the current state, including trust states, of the existing domains of the THSM, which may be available for query from the DM's domain. This information may be used to decide if the desired RTO process for the particular RO's domain is possible under the available resources and policy, desired under the Desired Domains list, and allowed under the state or trust state of the existing domains of the THSM.

The SDM policy may be configured during the take-ownership (TO) process for the DO. This process may take place locally, via a pre-existing configuration structure which is enforced during the boot process. The DOs TO may also take place remotely; this process may be similar to a RTO process intended for use with take-ownership of domains that are not device owner's domains, as specified herein, except that SDMexamination for blocking or allowing the RTO may not be invoked in the case of a TO process for the DO's domain, unlike in the case of the RTO process for non-device-owner remote owner. The SDP may be established during a DO take-ownership process which may be performed locally (with the DO physically present and interacting with the device) or in a way that involves remote interaction with a remotely located device owner. A component of the SDP is a list of allowable activities or purposes common to all non-DO domains. This list may also include additional entries specifying remote owners that are not allowed take ownership of domains.

In a second embodiment, the ME may have secure boot capabilities and may depend on the THSM to perform some of the “secure boot” checking of some of its boot code. The ME may perform a non-TCG secure boot, such as the OMTP TR0 secure boot. The THSM may be used to check the integrity of the ME so as to “utilize” the physical protection afforded to the THSM. For example, the ME may send raw data to the THSM and the THSM may check the integrity of the ME. The WTRU may implement a mechanism to provide a secure channel between the ME and the THSM, and a “somewhat trustworthy” part of the ME that can at least be trusted to send code or data to the THSM in a secure way and to communicate securely, such as over the secure channel, with the THSM, for the purpose of the THSM doing the integrity checking for the ME. The THSM may also store within it some of the ME's code on behalf of the ME. These codes may be loaded into the ME during the boot process. The THSM may take roles of performing the integrity check of the ME or storing and loading some of the codes for the ME because between itself and the ME the THSM may be a more trustworthy environment due to its hardware-based protection mechanism.

In a third embodiment, the THSM may perform some of the secure-boot or integrity-checking for the ME's code. This may be attestable to the RO. The ME may include a single trusted entity; a Mobile Trusted Environment (MTE). An MTE may be a logically separate environment within the ME that is more trusted than the rest of the ME. An MTE may utilize some hardware based protection mechanisms such as hardware based roots of trusts (RoTs). After the base code of the ME is loaded, the MTE may be loaded. The MTE may be a trusted entity in the sense that it may provide proof of trust, such as use of a trusted signing key, to an external verifier. Although the MTE is a trusted entity it may not possess the core root of trust for measurement that is the measurement program code associated with an actual TPM. In so far as the ME, as a powered device, provides a “platform” on which the THSM may operate, the ME may be referred to herein as an ME platform. The MTE may be configured to collect evidence of the integrity of the ME platform and forward the evidence, under at least integrity protection afforded by use of a signing key protected within the MTE, to a trusted entity within the THSM such as a post-boot SDM. Since the THSM implements TCG TPM or MTM-like integrity measurement and verification functionalities, the THSM may also implement TCG TPM or MTM's capability to perform the ‘Extend’ operation, whereby measurements of current software are combined with the current values of Platform Configuration Registers (PCRs) that indicate the historic state of loading of software) to compute new values for the PCRs. The THSM may also implement a mechanism to convert the digest values (which would be the raw measurement values of integrity of software components) or the values of the PCRs to another integrity data that can be used for attestation of the trustworthiness of the ME platform toward the THSM. For simplicity, the gathered data of ME platform integrity may be denoted a ME Platform Integrity Data (MPID) hereinafter. The THSM may not maintain a domain for the ME or the MTE. The THSM may be able to acquire, either from a pre-configured file or by real-time contact with the DM, a certified metric against which it checks the calculated digest. Attestation of the ME may follow, provided a match is determined. An MTE may also be capable of collecting data that describes an “environment” of the ME, such as model numbers, what kind of services it is intended to perform and for whom. For simplicity, such environment description of the ME may be denoted ME Platform Environment Survey (MPES) hereinafter. The THSM DO's RO may attest to the integrity of both its own domain as well as the ME platform. This attestation may be similar to a Trusted Environment (TRE)'s M2ME Validation function, in the M2M context, as has been specified in PCT patent application WO 2009/092115 (PCT/US2009/031603). The ME may continually, on its own or upon request from the THSM, report its changing states to the THSM.

In a fourth embodiment, both the ME and the THSM may be configured to perform full MTM functionality. The trustworthiness of the ME, or its domains, may be attestable by the ME, or by the domains directly. The ME's RO domain may report its states on a continuing, or per-request, basis to the RO. The THSM's RO domain may function similarly. The reports by the ME's RO domain and the THSM's RO domain may be synchronized and also may be bound to each other. The reports also may be made using a common session of a protocol flow.

In this embodiment, the ME may be configured to perform several functions of the THSM as described herein. The ME may include one or more domains of its own, each with respect to a particular owner. These domains may include the properties of trusted entities as per the THSM. Such domains may include a device manufacturer (DM) domain and a user (U) domain. These domains may be pre-configured in a manner similar to the THSM. To distinguish domains on the ME from those on the THSM, the letters ME may be subscripted with those designating the domain itself. Thus the domain for the DM may be denoted ME_(DM). The device owner (DO) domain on the THSM may monitor domains on the ME side to ensure conformance to the System-Wide Domain Policy (SDP) residing in the SDM. With the creation of each domain in the ME, communication with the SDM may make the THSM DO aware of each new domain configuration.

The ME may include a Domain Manager, which may be referred to as the platform domain manager (ME_(PDM)), that may function in a manner similar to that of the SDM in the THSM. The ME_(PDM) may reside in the ME_(DM) and initially may have a pre-configuration as defined by the DM. This initial configuration may be similar in its purpose and function to that of the initial, pre-configured definition of the TD_(DM) on the THSM. The ME_(DM) setup may be timed to occur after the TD_(DO) is instantiated in the THSM. When SDM is notified that the setup for the ME_(DM) is complete it may, depending on system-wide constraints, impose policy restrictions originating from or in reflection of the SDP. The SDM may maintain a list of a number of remote owners and their domains on the THSM. If a domain is to be created and managed on the ME that belongs to one of the owners in the list, then the SDM may have certain control over the creation and management of these domains on the ME.

In this embodiment, the ME may have full MTM functionality. Thus it may include a core root of trust for measurement (CRTM), a core root of trust for reporting (CRTR), and a core root of trust for storage (CRTS). On the THSM, domain subscription functionality may be managed by the TSIM function. If two domains, such as one in the THSM and the other on the ME, are for the same RO, the domain on the THSM may be used for functions or services for the RO that require very high-level of security and/or trust, such as subscription function and its management for that remote owner, while the domain on the ME may be used for functions or services for the same RO that may still require certain level of security or trust but not to the same level required for the functions and services expected from the domain on the THSM. Domains that are not built from pre-configured files may be configured through the remote take ownership (RTO) process. The RTO for the ME, for a typical remote owner (RO), may be similar to those for the THSM.

Domains on the ME may not be intended to be used for subscription management for remote owners. Instead, they may be intended to be used to perform computation and resource-intensive tasks for the benefit of the user, owner, remote owner, or any combination thereof. For example, these domains may perform tasks that may not be practicable for the relatively limited resources on the THSM. Domains on the ME may also be more “ephemeral” or “temporary” in the sense that, instead of being once created and then staying inside the ME until explicitly deleted, these domains may be created on boot or even on run-time sessions, in analogy to the virtualization, and be used for their specific purposes on a temporary, session-based basis. A remote owner of a domain on the ME may not have the same level of privilege in terms of requesting and obtaining an attested survey of the allocation of resources and purposes thereof of the other domains on the ME owned by other remote-owners or such other domains on the THSM.

It is advantageous to provide a method for a device owner of a mobile trusted platform to buy a “blank” WTRU which is not pre-allocated and initialized by a specific PLMN, also known as the MNO remote owner, to allow an arbitrary choice of mobile network operator without restrictions. The method may include performing a take-ownership process, such as the RTO process, of a WTRU, such as a UMTS device (UE), where the remote owner is the PLMN operator, or other similar operator for whom the subscription application is intended, and setup, customize and finalize a subsystem, such as a RO's domain, which is a domain inside a THSM and may be claimed by the correct RO.

As previously noted, a Trusted Hardware Subscription Module (THSM) may be built as, or include within it, a tamper-resistant hardware component module that includes functionality for a subscription application for PLMN operators and other value-added services, such as the IMS Subscription Identity Module (ISIM). A THSM may be removable or irremovable from the WTRU. An enhanced version of a UICC or a smart card compliant to the Global Platform standards may be one embodiment of such a THSM.

The take-ownership operation builds the basic “trust” relationship between an operator or PLMN and the WTRU. This procedure may install and instantiate a “blank trusted” TSIM comprising a “pristine” engine with a generic “trusted” software configuration. This subsystem may be “certified” by the remote owner, if the platform is able to provide evidence of its “pristine” configuration and security attributes. FIGS. 3 and 3A illustrates an example of this process as it specifically relates to the first embodiment described herein. The remote owner may be the mobile network that provides the user a requested service, sets up the appropriate security policy, and enforces a device configuration that is consistent with the service. The owner for this protocol may be local.

FIGS. 3 and 3A illustrate an exemplary boot up and RTO process. The ME may have a pre-boot state 304. The device may be powered on at 306. The ME may perform a “secure” boot (non-TCG) at 308. The ME may reach a base code booted state 310. Further, the ME may send a “base boot completed” signal to THSM at 312. The ME may load additional software per a basic configuration at 314. The ME boot may be completed (application-loaded) state at 316. The ME may send to the THSM a boot completed message at 318.

The THSM may be in a pre-boot state 330. The THSM may load TE_(DM) at 334. The THSM may receive pre-configured files during configuration, for example, 336 illustrates the use of pre-configured files. At 338, the THSM may reach a “TD_(DM) build” state (basic configuration state). The THSM may receive DM's specification on available resources for RO domains, for example, as illustrated at 340.

At 342, the TD_(DM) may build TD_(DO) (TD_(DO) may include SDM). At 344, the THSM may use saved configuration files, for example, to build domains (may be available due to previous RTO's). At 346, the THSM may reach a TD_(DO) build state (includes SDM), where TD_(DO) may be unclaimed or claimed by DO. At 350, the TD_(DO) may build TD_(U). At 352, input may be received from the DO. At 354, the THSM may reach a TD_(U) build state, where TD_(U) may be unclaimed or claimed. At 356, the THSM may receive input from the DO or DU (e.g., specifying which domains the DO may want to build, by file or interaction). At 358, the TD_(DO) may build RO domains, TD_(RO)'s.

Referring now to FIG. 3A, at 362, the THSM may reach a state with TD_(RO) built, where TD_(RO) may be unclaimed or claimed by an RO. At 366, the SDM may request the TD_(RO) to perform an RTO, or, the TD_(RO) may notify (or request) the SDM that it will perform an RTO. At 370, the TD_(RO) may start the RTO process. At 380, there are representative remote owners (RO₁ . . . RO_(n)). At 384, information may be exchanged. For example, as part of the RTO process with a remote owner, information exchanged may include one or more of: attestations, configurations, policies, purposes, certificate (referred to as CERT herein), keys and SP to TD_(RO)'s. Optionally, the RO may find out the ‘environment’ or ‘domain plan’ of the DO during the RTO process and may allow the process to continue if it agrees to the environment/plan.

At 372, the THSM may capture/update system configuration for various domains, save the information and store the information in non-volatile protected memory in the THSM. At 374, the THSM may reach a state with post-RTO TD_(RO)'s.

Referring to the first embodiment, the policy domain formed by the RTO of the DO may comprise stipulations that affect domain configurations of subsequent RTO processes. The RTO protocol may be appropriate for a non-DO RO. A domain-specific policy (DP) may be downloaded during a RTO transaction. The DP for the DO may differ from the DP for a RO, in that, such a DP (DP_(DO)) may include a System-wide Domain Policy (SDP) intended for use for building and maintaining the other domains, which may be remotely owned, in the THSM. Before or during an RTO process, the RO of the domain may obtain, from a trusted third party (TTP), a Reference Integrity Metric (RIM_(RO)) for the configuration and current integrity state of the hardware or software supporting all or a subset of all of the Domains of the THSM, and may be expressed as:

TTP→RO: RIM_(RO)={Configuration and state of the HW/SW supporting Domains of the THSM, and/or digest values}.  Equation 1

In some cases, a TTP may be able to provide RIM_(RO) for a subset of the HW and SW of the THSM, including the domains, which the RO is interested in verifying. More than one TTP may be needed to provide RIM_(RO)s, which the RO collects and forms a collective reference metric. A target domain of THSM (TD_(RO) _(—) _(target)) undergoing a RTO process may be configured to, with the aid of the SDM of the THSM, provide its RO a signed THSM Platform Integrity Attestation (TPIA). The TPIA may be a concatenation of individual Integrity Attestations of the domains on the THSM and/or the integrity attestation of the platform of the device that the RO of the target domain is interested in verifying before allowing the completion of the RTO process with the of the TD_(RO) _(—) _(target). The target domain of THSM (TD_(RO) _(—) _(target)) may be, with the aid of the SDM of the THSM, able to provide its RO a signed THSM Platform Environment Summary (TPES). A TPES may include a summary of the environment of the THSM, including the number and nature of the other domains on the THSM and any remaining available resources, such as the resources of the platform of the THSM, that could be used for the benefit of the TE_(RO) _(—) _(target) and may be expressed as:

TD_(RO) _(—) _(target)→RO: [TPIA]_(signed)∥[TPES]_(signed).  Equation 2

Alternatively, instead of reporting a TPIA which may comprise all the attestations across all domains of interest to the RO the SDM may provide a signed statement, which may be a semi-autonomous statement, that it has checked the integrity of all such domains and deems them to be trustworthy. This attestation may include local verification of the integrity of the collection of domains. A local verifier may include a valid configuration list for each domain on the THSM. The SDM may provide the local verifier with the TPIA which may be signed by an AIK. The verification of the individual integrity attestations may require that they match with the corresponding locally stored entries in the configuration list. The SDM may perform the integrity measurements, logging and extensions to PCRs necessary to construct a TPIA and prove the trustworthiness of each domain. These measurements, and their extensions, may be used by the verifier to establish that attestation for the required domains has taken place.

Once verification has been achieved the local verifier may prepare a statement that the relevant attestations have taken place and signs this statement with a private key from a certified key pair (K_(sign) _(—) _(verify) _(—) _(priv), K_(sign) _(—) _(verify) _(—) _(pub)). The message comprising the signed Verification Statement concatenated with the signed TPES may be expressed as:

TD_(RO) _(—) _(target)→RO: [Verification Statement]_(Ksign) _(—) _(verify) _(—) _(priv)∥[TPES]_(signed).  Equation 3

Upon receiving the {RIM_(RO)}(s) from the TTP(s), and the signed TPIA and signed TPES from the TD_(RO) _(—) _(target), the RO may verify if the TD_(RO) _(—) _(target) is in an environment, such as an environment in the THSM, that the RO finds agreeable for the purpose of continuing the RTO process, and the hardware or software supporting the TD_(RO) _(—) _(target) and any other domains of interest to the RO, are in a state whose integrity is agreeable to the RO.

The RTO protocol for a pristine domain may begin at power up. Optionally, the RTO protocol may begin after a power-up. When secure boot of the THSM completes the resulting build of the domains may be determined by the configuration file whose contents reflect either the platform's state at initial, such as the first, power-on time, or that of a previous state when the device had been previously booted up and then powered down. Thus the device could be in the basic configuration that includes the TD_(DM) build, “pristine” TD_(DO), and “pristine” TE_(U) states. Alternatively, the WTRU may be in a later configuration, for example, a configuration based on a previous boot-up and domain building or RTO processes that includes the TD_(DM), “post-RTO” TD_(DO), and “post-RTO” TE_(U) states. In another alternative, the WTRU may be in a configuration that also includes an expanded set of additional domains, such as those shown in FIG. 2. Such domains may have been created during a previous powered session and ownership may have been taken by respective owners by a previously run RTO processes that took place during the previous sessions.

Referring to the first embodiment, as the secure and trusted entity of the platform, the THSM may control the take-ownership protocol and determine whether or not the ME is in an initial trustworthy state. The pre-provisioned key K_(temp) may be used to protect the confidentiality of messages sent across the THSM-ME interface. For simplicity an encrypted message A, may be denoted by {A}, signing of a message may be denoted by [A], and the notations ID_(ME) and ID_(THSM), respectively, represent pre-provisioned temporary IDs of the ME and THSM.

RTO initiation may include the SDM of the TD_(DO) initiating a RTO for an “unclaimed,” “pristine” domain intended to be claimed by a RO after the RTO process with that particular RO. The user may initiate a power-on of the ME platform. At power on, the ME may perform a “non-TCG” “secure boot,” such as the boot defined by OMTP, of base codes in which it comes “alive.” As part of the non-TCG secure boot process, the integrity of the base codes of the ME may be autonomously checked.

Referring to the third embodiment, the Mobile Trusted Environment (MTE) may be loaded following the completion of the base code boot process. With the use of a signing key the MTE may attest to the integrity of the ME platform configuration.

The ME, after loading the base codes, may periodically send a signal to the THSM, indicating that is has booted to a minimum secure setting. Since the THSM's DO's domain may not have yet booted when the signal is sent, the ME may send the same signal, with a different random nonce (nonce_(—)1), until it receives an acknowledgement signal back from the DO's domain of the THSM. This signal may be expressed as:

Def) Package_(—)1=“ME Base Code Boot completed” MSG∥nonce_(—)1∥ID_(ME)

ME→THSM's TD_(DO): Package_(—)1∥[SHA-X(Package_(—)1)]_(Ktemp) _(—) _(I).  Equation 4

Referring to the third embodiment, the signaling may be expressed as:

Def) Package_(—)1=“ME Base Code Boot completed & MTE loading” MSG∥nonce_(—)1∥ID_(ME)

ME→THSM's TD_(DO): Package_(—)1∥[SHA-X(Package_(—)1)]_(Ktemp) _(—) _(I).  Equation 5

The THSM may boot “securely,” such that the THSM may have loaded its DM's domain, a “pristine” DO's domain, a User's domain, and at least one “pristine” domain that is meant to be owned, but may not yet be owned, by an RO. Also, in loading these domains, the integrity of each of the domain's code states may be checked against reference integrity metrics (RIMs) of each of the domains. The checking may be performed according to a specification, such as the TCG MPWG specification.

The Device Owner's domain (TD_(DO)) may be loaded to either a “pre-configured” configuration or to a “Last-saved (post-previous-RTO)” configuration, if it has previously gone through a RTO process for the DO. The DO's domain, when loaded, may include a System-wide Domain Manager (SDM). The SDM may supervise the building or loading and maintenance of domains to belong to other remote owners (ROs). The SDM may look up a “list of resources available for domains” from the DM's domain, and, may also look up the System-wide Domain Policy (SDP), which the TD_(DO) protects.

At boot time, the SDM may also prompt the human user or the human owner (DO) of the THSM with a “list of domains that can be built” and request input to choose the domains to be built. After getting that input from the user or owner, the SDM may proceed to build only those domains specified in the response from the human owner or user. The SDM may interact with the ME to provide the user interface (UI) for these transactions.

After the secure boot, the THSM's TD_(DO) may send a “THSM boot completed” message to the ME. Within the message, TD_(DO) may also include an externally disclose-able summary of the current state of the domains, such as the number and names of the RO's domains loaded. The SDM of the TD_(DO) may determine and enforce the extent of the external disclosure of the summary of the current state of the domains, and such determination may be based on the SDP and/or the domain-specific policies (DPs) of the domains on the THSM and/or the ME. The TD_(DO) may acknowledge receipt of the Package_(—)1 in this message, by including the received nonce_(—)1 as part of the SHA-X integrity check code input, which may be expressed as:

Def) Package_(—)2=“THSM boot completed” MSG∥nonce_(—)2∥ID_(THSM)

TD_(DO)→ME: Package_(—)2∥[SHA-X(Package_(—)1∥nonce_(—)1)]_(Ktemp) _(—) _(I)  Equation 6

The ID of the THSM, such as ID_(THSM), may be kept in the DM's domain TD_(DM) and may be equivalently an ID of the TD_(DM). The DO's domain TD_(DO) may fetch it from TD_(DM) to construct Package_(—)2 in Equation 6.

In response to the “THSM boot completed” signal, the ME may continue to complete its boot process. After completing its boot process, the ME may send to the THSM's TD_(DO) a message that may be expressed as:

Def) Package_(—)3=“ME boot completed”∥nonce_(—)3

ME→TD_(DO): Package_(—)3∥[SHA-X(Package_(—)3∥nonce_(—)2)]_(Ktemp) _(—) _(I)  Equation 7

The following applies to the case where the SDM of the DO's domain initiates and supervises the RTO process for a currently “pristine” RO's domain.

After the TD_(DO) receives the Package_(—)2 from the ME, an RTO process may be initiated. The System-wide Domain Manager (SDM) within the TD_(DO) may initiate the RTO process by requesting a “pristine” target RO's domain (TD*_(RO) _(—) _(Target)) to start a RTO process. The SDM may initiate this process autonomously or when prompted by a human owner or user. The SDM may send the TD*_(RO) a request to start the RTO process for the target RO. The request may include who the target RO is, such as the RO's ID or Network Access Identifier (NAI), and the validity period of the current request. Either as part of the request or as a separate package that goes along with the request, the SDM may also send a list of “SDP's Conditions for Allowed RO's Domains” (referred to SCARD hereinafter). The SDM may also send a “Target Domain Plan” for the TD_(RO) when it is completed after the intended RTO process. This messaging may be expressed as:

Def) Package_(—)4a=Request_to_start_RTO∥SCARD∥Target Domain Plan∥nonce_(—)4

SDM→TD*_(RO) _(—) _(Target): Package_(—)4a∥[SHA-X(Package_(—)4a)]_(Ksign) _(—) _(SDM).  Equation 8

The TD*_(RO) _(—) _(Target), in response to receipt of the Package_(—)4, may either accept or reject the request. This request may be interpreted as an “offer” to allow the RO to take ownership of the RO's domain. The TD*_(RO) _(—) _(Target) may make the decision based on a pre-configured criteria or its own “pristine” version of the RO's Domain Policy which had been loaded. The TD*_(RO) _(—) _(Target) may be configured to examine the Request_to_start_RTO, SCARD, and Target_Domain_Plan, and make such decisions, in the absence of and for the benefit of, the actual target Remote Owner. This may be expressed as:

Def) Package_(—)5a=Okay(or Not_Okay)_to_start_RTO∥nonce_(—)5a

TD*_(RO) _(—) _(Target)→SDM:

Package_(—)5a∥[SHA-X(Package_(—)5a)∥nonce_(—)4]_(Ksign) _(—) _(TD*RO) _(—) _(Target).  Equation 9

The “pristine” target RO's domain (TD*_(RO) _(—) _(Target)) may initiates this process. The TD*_(RO) _(—) _(Target) may alert the SDM of its “final domain plan” for the RTO process. The SDM may grant or reject the request. If the SDM grants the request, the TD*_(RO) can start the RTO process, which may be expressed as:

Def) Package_(—)5b=Intend_to_start_RTO∥Final Domain Plan∥nonce_(—)5b

TD*_(RO) _(—) _(Target)→SDM: Package_(—)5b∥[SHA-X(Package_(—)5b)]_(Ksign) _(—) _(TD*RO) _(—) _(Target).  Equation 10

In response to receipt of either Package_5 a or Package_5 b, the SDM may look up, for the RTO process for TD*_(RO) _(—) _(Target), the System Domain Policy (SDP), which may be pre-configured or obtained by a RTO process for TD_(DO), a list of “Desired Domains,” which may be either pre-configured or supplied by the Owner, a list of “Available Resources for Domains,” which may be held and continuously updated by the DM's domain, or the current state of the domains in the THSM.

The SDM may also evaluate whether there are sufficient resources, such as memory or computing resources for virtual machine threads, available for building or maintaining multiple domains on the THSM, whether the current state of the domains in the THSM match those specified in the “Desired Domains” list, whether the building or loading of any new domains in the “Desired Domains” is supportable by the current state of the domains in the THSM and also allowed under the SDP, or whether one or more of the domains need to go through RTO processes.

If the SDM determines that TD*_(RO) _(—) _(Target) can go through a RTO process according to the available resources, the current state of the existing domains of the THSM, and the SDP, the SDM may indicate this determination (TD*_(RO) _(—) _(Target)) and proceed to prepare for a number of integrity attestations to be forwarded, during the RTO process, to the RO for its evaluation of the TD*_(RO) _(—) _(Target) and its surrounding domains. This may be expressed as:

Def) Package_(—)6=Okay_to_go_ahead_with_RTO∥nonce_(—)6

SDM→TD*_(RO) _(—) _(Target):

Package_(—)6∥[SHA-X(Package_(—)6)∥nonce_(—)5(a or b)]_(Ksign) _(—) _(SDM).  Equation 11

The SDM may indicate to the human user that it is about to initiate a RTO process for a particular domain by, for example, messages displayed on the WTRU. The SDM may also prompt the human user or human owner (DO) with a list of “desired domains to start the RTO process and the desired RO” and proceeds to initiate the RTO processes for only those RO's domains that the owner or user specifies in response to the prompt. The SDM may interact with the ME that provides the user interface (UI) for these transactions.

The TD*_(RO) _(—) _(Target) may request the SDM to prepare material that it may use to construct THSM Platform Integrity Attestation (TPIA) and a THSM Platform Environment Summary (TPES). This may be expressed as:

Def) Package_(—)7=Request_for_TPIA∥Request_for_TPES∥nonce_(—)7

TD*_(RO) _(—) _(Target)→SDM:

Package_(—)7∥[SHA-X(Package_(—)7)∥nonce_(—)6]_(Ksign) _(—) _(TD*RO) _(—) _(Target).  Equation 12

Referring to the third embodiment, the request may be expressed as:

Def) Package_(—)7a=Request_for_TPIA∥Request_for_TPES∥Request for MPID∥Request for MPES∥nonce_(—)7a

TD*RO_Target→SDM:

Package_(—)7a∥[SHA-X(Package_(—)7a∥nonce_(—)6)]Ksign_TD*RO_Target.  Equation 13

In the requests for the TPIA and TPES, the RO may specify what kind of information regarding the TPIA and TPES it seeks from the SDM. For example, for the TPIA, it may specify the names or ranges of the domains, other than itself, which it wishes to verify the integrity of Likewise, for the TPES, the RO could specify the public IDs, such as the network allocation identifiers (NAIs), of the Owners of the domains other than itself.

Referring to the third embodiment, the target RO may also request specific information regarding the integrity of the ME platform (referred to as MPID hereinafter) and other information concerning the ME environment. Alternatively, the RO may request a simple indicator that the MTE was loaded and the MPID and MPES were sent by the ME to the SDM. The MTE, the trusted entity residing in the ME platform, may prepare the values MPID and MPES when it requested to do so by the SDM. This request may be expressed as:

Def) Package_(—)7b=Request for MPID∥Request for MPES∥nonce_(—)7b

SDM→MTE:

Package_(—)7b∥[SHA-X(Package_(—)7b)]Ksign_SDM.  Equation 14

The MTE may gather configuration data from the ME and build the MPID. Environment data may also be acquired to produce a ME Platform Environment Survey (MPES). These values may be based on the current ME state which can change over time. Updated values may be sent to the SDM if and when future requests are made following ME state changes. In general the MTE may send a response to the SDM that may be expressed as:

Def) Package_(—)8a=MPID∥MPES∥Cert_(MTE)

MTE→SDM:

Package_(—)8a∥[SHA-X(Package_(—)8a∥nonce_(—)7b)]Ksign_MTE.  Equation 14

The MTE may provide a certificate, which may be signed by a CA, that includes its public key K_(MTE) _(—) _(Pub). Thus the SDM may verify the authenticity of this public key through the verification of the CAs signature and thereby check the integrity of the message from the MTE with K_(MTE) _(—) _(Pub). The SDM may prepare the TPIA and the TPES and later forward them to the TD*_(RO) _(—) _(Target).

For the preparation of the TPIA, the SDM may collect integrity attestations, such as integrity attestation of and by the “pristine” TD_(RO), integrity attestation of and by the TE_(DM), integrity attestation of and by the TE_(DO), integrity attestation of and by the TE_(U) (if device user is different from the DO), and integrity attestation of and by any other existing TD_(RO)'s the RO is interested in.

Alternatively, the SDM may verify, after collecting the integrity values from the PCRs, by a process of local, autonomous check and re-calculation of the measurement logs, such as the code and data, the domains against the digest values from the PCRs for the respective domains. This may be performed when the TTP (PCA) is not aware of the latest codes that should comprise the respective domain, and the TTP can certify a signing key linked to an AIK that is certified for the TPM, or MTM, on the WTRU. The TTP may not be configured to provide the reference values for the digest metric that the RO can use to compare the TPIA from the SDM. The SDM may check, locally, if the PCR quotes it gets for the domains are up to date, by recalculating the digest of the codes for the domains and comparing them with the quoted PCR values. On a condition that this local check has passed, the SDM can then sign the TPIA and pass it to the TD_(RO) _(—) _(target) and to the RO_(target) by way of MTE, or the ME.

In another alternative, a 3-way verification, the SDM may provide, as part of the TPIA, the digests and the measurement logs, such as the actual codes, of the domains. The RO, when getting the codes along with the digests, may get the reference metrics for the digests from the TTP, may recompute the digest from the measurement logs, and may compare it with the quoted PCR digests it received from the TD_(RO) _(—) _(Target) as well as the reference metric of the digest it received from the TTP.

The TPIA, with or without the measurement logs, may also include an indication of the “local time” when the PCR quote has taken place, effectively time-stamping the quotes for the digests for the individual domains. This gives some indication of when the last time each of the domain's PCR digests has been obtained by the SDM. If the measurement log is not sent to the RO, a time-stamped quote of the PCRs may provide some additional information to the RO, when it needs to verify the attestation indicated in the TPIA, in terms of deciding whether the time when the local digests have been obtained and included in the TPIA is recent enough to allow use of it in the attestation verification. The clock being used for such time-stamping, may be a trustworthy clock.

In the event that the 3-way verification fails, the RO may request that the TTP provide it with updated reference metrics or measurements logs from which it can compute the desired digests. The RO may retry the 3-way verification. If the verification is successful the RTO continues. If it fails and successful 3-way verification is required by the RO policy the RTO may be terminated.

For integrity attestation of the DO's domain, the SDM may obtain it autonomously, such as through a native function of the SDM. For integrity attestations, except for that of the DO's domain, the SDM may request the respective other domains to produce and sign its own respective integrity attestation. In the request, the SDM may include authorization data, such as a token, that the recipient can use to check if the SDM has the authority to request and obtain the integrity attestation from the domain. The Request may also include the range of the Platform Configuration Registers (PCRs) of the recipient domains that the Target RO, and SDM, as a forwarder of the Target RO's request, needs to check for integrity of the recipient domain. This request may be expressed as:

Def) Package_(—)8b(i)=Request_for_Attestation∥nonce_(—)8b(i), i=1,2, . . . , N

SDM→TD_(Domain)(i):

Package_(—)8b(i)∥[SHA-X(Package_(—)8b(i))]_(Ksign) _(—) _(SDM).  Equation 15

Each of the domains, denoted as domain(i), i=1, 2, . . . , N, where N is the number of domains the SDM collects the PCR values from, first checks the authorization data in the Request_for_Attestation, and then fetches the PCR values of the range of PCRs as specified in the Request_for_Attestation. This operation may be expressed as:

Def) Package_(—)8c(i)=Values of the specified range of PCRs∥nonce_(—)8c(i), i=1,2, . . . , N

TD_(Domain)(i)→SDM:

Package_(—)8c(i)∥[SHA-X(Package_(—)8c(i)∥nonce_(—)8b(i)]_(Ksign) _(—) _(TD) _(—) _(Domain(i)).  Equation 16

The SDM may perform THSM Platform Integrity Attestation (TPIA) to concatenate all of the attestations and sign it with its signing key. This may be expressed as:

Def) TPIA=Concatenation{signed PCR values from Domain(i)}, i=1,2, . . . , N.  Equation 17

For the preparation of the TPES, the SDM may produce TPES by concatenating information it gathers from the TD_(DM), TD_(DO), and TD_(Domains(i)), such as THSM HW and SW configuration and version numbers, which may be obtained from the DM's domain, BIOS configurations, number of domains on the platform, total platform resources, such as memory, used up for the current domains, platform resources remaining for further building or expansion of existing or new domains, names of the domains, or names or IDs, such as NAIs, of their owner (if allowed by the respective domain owners), date/time, or a monotonic counter value if such is available but not the date/time, when the above environment information was collected by the SDM, any other pertinent information. This request may be expressed as:

Def) TPES={collected information}  Equation 18

The SDM may sign the TPIA and TPES and forward them to the TD*_(RO) _(—) _(Target). The SDM may also include a signed SCARD so that the DO may not need to rely on any pristine TD*_(RO) _(—) _(Target) if it was not able to examine the SCARD. The SCARD may be sent, along with the TPIA and TPES, to the RO, so that the RO can make the decisions to go ahead with the take-ownership after examining the SCARD, TPIA, and TPES. This messaging may be expressed as:

SDM→TD_(RO) _(—) _(Target):

SCARD∥nonce_(—)8fb∥[SHA-X(SCARD)∥nonce_(—)8fb)]_(Ksign) _(—) _(SDM)

TPIA∥Concatenation{nonce_(—)8c(i)}[SHA-X(TPIA)∥Concatenation{nonce_(—)8c(i)}]_(Ksign) _(—) _(SDM),

TPES∥nonce_(—)8f∥[SHA-X(TPES∥nonce_(—)8f)]_(Ksign) _(—) _(SDM)

OR

SCARD∥TPIA∥TPES∥[SHA-X(SCARD∥TPIA∥TPES∥nonce_(—)8f)]_(Ksign) _(—) _(SDM).  Equation 19

Upon receiving the TPIA, the TPES, and the SCARD, from the SDM, the TD*_(RO) _(—) _(Target) may check their integrity by checking them with the SDM's public signing key. Then, the TPIA, TPES, SCARD, a purpose information element (P) that indicates the services desired by the user, and a request for take-ownership message (request_TO), may be sent to the ME. If the RTO process is for a domain that has to be provisioned for a full TSIM capability, a signed certificate about the TSIM functionality (Cert_(TSIM)) may also be prepared and sent along with the above package.

There may be two or more certificates used for the TSIM functionality. One for the pristine TSIM functionality (CERT*_(TSIM)) and the others for those that are fully instantiated or updated. The certificate for the pristine TSIM functionality may be modularly embedded in the certificate structure for the DM, for example, it may be plugged into the pristine domain that is a functionality from the DM.

When the RO performs a RTO process after the TD_(RO) has gone through at least one RTO beforehand, then it may no longer needs to send the CERT*_(TSIM) since this certificate would only be appropriate for use with a pristine domain, which the TD_(RO) no longer may be. Thus, in this case, the RO may send an updated certificate CERT_(TSIM).

The content may be encrypted with the public key of the Target RO (K_Target_RO_pub), which may have been made available, for example, by a certificate transfer or by pre-configuration, in case the target RO is already known when the pristine TD loaded, prior to the usage by the TD*_(RO) _(—) _(Target). The TSIM may be pre-provisioned with a signing key K_(—TSIM-Sign). The public key of this private signing key may be pre-distributed to the target RO. ID_(ME) is the ID of the ME, which the TD*_(RO) _(—) _(Target) obtains from the THSM DM's domain TD_(DM), which securely holds the ME ID. This may be expressed as:

Def) Package_(—)9=SCARD∥TPIA∥TPES∥P∥Request_TO∥Cert_(TSIM)∥ID_(ME)∥nonce_(—)9

TD*_(RO) _(—) _(Target)→ME:

{Package_(—)9}_(K) _(—) _(Target) _(—) _(RO) _(—) _(Pub)∥[SHA-X(Package_(—)9)]_(K) _(—) _(TSIM-SIGN).  Equation 20

Referring to the third embodiment, the values MPIA and MPES may be added to the message. The MPIA may include a digest computed in the THSM based on the configuration data (MPID) compiled by the MTE. This digest may be attested to only if it checks with the acquired certified metric pre-existing in a configuration file or delivered via real-time communication with the DM. As per the RO request for integrity and environmental information, equation 20 may comprise a simple indication that the SDM successfully received MPID and MPES. This may be expressed as:

Def) Package_(—)9=SCARD∥TPIA∥TPES∥MPIA∥MPES∥P∥Request_TO∥Cert_(TSIM)∥ID_(ME)∥nonce_(—)9

TD*_(RO) _(—) _(Target)→ME:

{Package_(—)9}_(K) _(—) _(Target) _(—) _(RO) _(—) _(Pub)∥[SHA-X(Package_(—)9)]_(K) _(—) _(TSIM-SIGN).  Equation 21

The ME may transfer the entire message above to the RO, which may be expressed as:

ME→Target RO:

{Package_(—)9}_(K) _(—) _(Target) _(—) _(RO) _(—) _(Pub)∥[SHA-X(Package_(—)9)]_(K) _(—) _(TSIM-SIGN).  Equation 22

Referring to the third embodiment, the message would include MPIA and MPES.

The RO may decrypt the Package_(—)10 using its private key K_(Target) _(—) _(RO) _(—) _(Priv.), check the ID of the ME, and interpret the messages. The RO may interpret the SCARD and see if it can “agree” to these conditions from the SDP. If the RO agrees to the SCARD, the value TPIA from a pristine TD*_(RO) _(—) _(Target), for example, may be interpreted to represent the entire initial TSIM state before any service credentials or configuration controls are provided to the Target RO's domain TD*_(RO) _(—) _(Target). The value P may be interpreted as indicating the services desired by the user. The Target RO, which may be a MNO in the case of a TSIM-enabled TD*_(RO) _(—) _(Target), may verify the integrity of the domains of its interest as indicated in the TPIA by comparing it with the Reference Integrity Metrics (RIM) values (RIM_(RO)) it has independently obtained from a TTP.

The MNO may have the capability to know the expected value of the TPIA through a certificate provided by the supplier of the WTRU/THSM, for example, to the TTP. Referring to the third embodiment, the expected values of MPIA and MPES may be known ahead of time through a certification process made possible by the fact that the MTE is a trusted entity, where its trustworthiness has been attested to by the THSM.

The target RO may look up the received TPES and evaluate whether the TD*_(RO) _(—) _(Target) is in a THSM system whose “surrounding system environment,” for example as represented by the TPES, is “agreeable” to the target RO, in the context of the RO allowing itself to proceed further with the RTO process.

After checking the TPIA, TPES, the purpose P, the Request_TO, and, with reference to the third embodiment, the MPIA and the MPES, the Target RO, such as the MNO, may determine that the pristine TD*_(RO) _(—) _(Target) that is requesting to be “taken ownership” by the Target RO, as well as THSM at large that includes the TD*_(RO) _(—) _(Target), is sufficiently “trustworthy” to let it proceed further for the RTO process and also to let it grant the TD*_(RO) _(—) _(Target) to interact with it to provide some pre-designated basic services.

To perform take-ownership of the TD*_(RO) _(—) _(Target) so that the domain can then later download the keys, fuller configurations, parameters and executables and install them to become more functional than the basic “pristine” state allows, and also become claimed or owned and managed by the Target Remote Owner (RO), the Target RO may send a Configuration signal (CONFIG) that may include executables. The RO also sends a RIM for the TSIM, called RIM_(TSIM), which may match the post-installation state if the TD_(RO) _(—) _(Target) installs the configurations, parameters, and executables according to the received CONFIG. The RIM_(TSIM) may be stored in secure memory on the TD*_(RO) _(—) _(Target) and may be used to check the integrity of the TSIM function at a future boot time. A domain policy (DP), which specifies the security measures to be employed as well as other configuration issues, may be included in the transaction.

The RO-specific domain policy (DP) may be different from the System-wide Domain Policy (SDP) that is held by the SDM and represents a plan for building and managing one or more domains owned by a specific RO on the THSM. The RO-specific DP may comprise policies or plans that govern only the intra-domain applications and security measures specific and exclusive to that particular domain.

Some ROs may make their DPs in such a way so that the DP may also include provisions that place restrictions regarding what other ROs are “agreeable” to be built or managed on the THSM. For example, a mobile network operator (MNO A) may make his DP_(MNO) _(—) _(A) in such a way that its target domain (TD_(MNO) _(—) _(A)), after downloading and installing the DP_(MNO) _(—) _(A), would be governed by a set of restrictions on, for example, its services or activations, if some of the conditions specified in the DP_(MNO) _(—) _(A) regarding the state and nature of the some of the other domains on the THSM are not found to be satisfactorily met. For example, a MNO may implement DP_(MNO) _(—) _(A) whereby the TD_(MNO) _(—) _(A) will disable its TSIM functions if the TD_(MNO) _(—) _(A) finds out, after surveying the larger environment within THSM, that there are other MNO's domains, with activated TSIM functions of their own, installed and active on the same THSM.

The TD*_(RO) _(—) _(Target), may be required to configure itself in a way that corresponds to the requested services in P. For example, the RO may send a response to the ME, where the message confidentiality is protected using the public key K_(TSIM-Pub). The ME may transfer this message to the TD*_(Target) _(—) _(RO) on the THSM. Cert_(RO) may include the public key K_RO-_(priv) of the Target_RO. The RO may send, at this time, a reference integrity metric (RIM) for the TSIM. The RO response may be expressed as:

Def) Package_(—)10={CONFIG,DP_(RO),ID_(RO),RIM_(TSIM) }K _(TSIM-Pub)∥Cert_(RO)∥Cert_(TSIM)∥nonce_(—)10

Target RO→ME:

{Package_(—)10}_(K) _(—) _(RO-Priv)[SHA-X(Package_(—)13∥nonce_(—)9)]_(K) _(—) _(TSIM-SIGN).  Equation 23

ME→TD*_(Target RO):

{Package_(—)10}_(K) _(—) _(RO-Priv)∥[SHA-X(Package_(—)13∥nonce_(—)9]_(K) _(—) _(TSIM-SIGN).  Equation 24

The TD*_(RO) _(—) _(Target) may decrypt the message with the private key K_(TSIM-Priv) and verify the RO signature using the public key K_(RO-Pub) in the Cert_(RO) after checking that certificate with a CA. It may securely store the received reference integrity metric RIM_(TSIM) for the TSIM application. It may check the ID of the RO, from ID_(RO), then check the policy DP_(RO) of the RO and determine if it can proceed with the rest of the configuration and installation of the CONFIG. TD*_(RO) _(—) _(Target) may perform reconfiguration via CONFIG to reach a “complete” domain state and then executes a self-test to determine if the measured metric of its TSIM function matches that communicated by the network and represented in the RIM_(TSIM). The domain TD_(RO) _(—) _(Target) is now “completed” and is no longer “pristine,” hence the removal of the asterisk * in the notation. This may be expressed as:

TD*_(Target RO): check DP_(RO), store RIM_(TSIM), and install CONFIG.

→

TD_(Target RO): RO's domain is “complete”.  Equation 25

The completed domain TD_(Target RO) may send a “RTO success and domain completed” status message to the ME, which it may forward to the Target RO. This may be expressed as:

Def) Package_(—)11={“domain completed”∥ID_(RO) _(—) _(Target)}_(K) _(—) _(RO-Pub)∥nonce_(—)11

TD_(Target RO)→ME:

Package_(—)11∥[SHA-X(Package_(—)11∥nonce_(—)10)]_(K) _(—) _(TSIM) _(—) _(SIGN).  Equation 26

Optionally, the ME may send a status message to the user, for example, displayed to the screen of the WTRU, that the phone is now ready for registration and credential roll-out.

The ME may forward the status message to the RO that the reconfiguration of the platform has successfully completed and is ready to register for TSIM credentials. The TD_(RO) _(—) Target has achieved “THSM_TD_(RO) _(—) LOAD_COMPLETE” state. This message may be expressed as:

ME→Target RO:

Package_(—)11∥[SHA-X(Package_(—)11∥nonce_(—)10)]_(K) _(—) _(TSIM) _(—) _(SIGN).  Equation 27

This RTO protocol may serve as a precursor to the protocol for registering a subscriber, as the owner or user of the THSM, to a 3G UMTS network operator that provides the subscribed service, and also a later protocol for downloading and provisioning of credentials for the authentication and key agreement (AKA), which include downloading and provisioning of the shared secret K and the subscriber identity IMSI.

The certificates, Cert_(TSIM) and Cert_(RO), for the public-private key set may be delivered in the messages in which they are used. Alternatively, the RO's domain (TD_(RO)) and the RO may acquire their respective certificates from a trusted third party. This acquisition may be expressed as:

TTP→ME→TD_(RO): Cert_(RO)

TTP→RO: Cert_(TSIM).  Equation 28

In another alternative, the RO's certificate Cert_(RO) may be delivered from the network to the ME and the THSM's certificate Cert_(TSIM) may be delivered from the ME to the network before the delivery of messages in which they are used. Thus communications may be sent before the encrypted messages described herein, these communications may be expressed as:

ME→RO: Cert_(TSIM) (before message of step 9 is sent)

RO→ME: CERT_(RO) (before message of step 13 is sent).  Equation 29

For each of these alternative certificate methods of delivery, an entity ID may accompany the messages in which the public encryption keys are used.

In another alternative, using symmetric keys instead of public keys may be employed to protect the confidentiality of messages. In each instance the sender may generate a symmetric key K_(s), for example, using a pseudo-random number generator (PRNG), and use this key, not the public key, to protect the confidentiality of the message. The symmetric encryption key may also send to the recipient along with the encrypted message, where it is protected with the public key. Thus the recipient is able to access the key K_(s) with its private key and then use it to decrypt the message.

Referring to the second embodiment, the THSM and ME may differ from those of the first Embodiment. The THSM, instead of the ME itself or a trusted entity within the ME such as an MTE, may be configured to perform an integrity check of some or all of the codes of the ME when ME boots. Optionally, the THSM may also store some or all of the boot codes for the ME. The THSM may not be configured to attest to the ME's integrity to an outside evaluator. It may be configured to perform a “local” check of the integrity of the ME codes at boot time.

An integrity value for the ME may be used in the boot-up process, and may not be used in the RTO process. The integrity measurement of the ME, denoted by meas_ME, which represents the ME code and configuration state resulting from a secure boot of the ME, may be obtained by the THSM's DM's domain TE_(DM). The THSM's TD_(DM) may check the validity of meas_ME, but it may not incorporate it in the platform attestation.

Referring to the fourth embodiment, the ME may be a trusted ME in the sense of, for example, the TCG MPWG. The ME may include a mobile trusted module (MTM) and can be trusted due to having the MTM as its trust anchor providing root of trusts for storage, reporting, measurement, verification, and enforcement.

FIGS. 4 and 4A illustrate an exemplary call flow diagram for a Remote Take-Ownership process. For example, FIGS. 4 and 4A illustrate exemplary calls between one or more of ME 402, TD_(DO) 404, SDM 406, TD*_(Target) _(—) _(RO) 408 and Target RO 410. The arrows in FIGS. 4 and 4A may represent the origin/destination of a call.

As shown in FIGS. 2 and 3, the SDM may include the system wide domain manager which resides in the THSM and provide part of the DO's functionality. The SDM may have oversight and coordination of all domains setup in the device to ensure that all such domains would operate and interact with each other compliant to the SDP, and according to the domain-specific policies, in so far as any conflicts in such policies would be attempted to be reconciled by the SDM on behalf of the DO and the ROs of the other domains. The TD_(DO) may include the mandatory device owner domain in the THSM. The TD_(DO) may include the SDM and thus it may maintain the system level domain policy. The MTE may include the policy manager ME_(PDM) for the ME side. The ME_(PDM) may perform the policy manager function on the ME but may be subject to the oversight of the SDM in the THSM. The ME*_(Target) _(—) _(RO) may include the pristine domain setup for remote ownership by an allowed remote owner. The target RO may include the remote owner requesting ownership of ME*Target_RO.

The ME may assume full MTM functionality so that remote take ownership of domains on the ME by recognized remote owners is supported. Similar to that of the RTO described in reference to the first embodiment; they differ essentially by virtue of the ultimate policy control exercised by the SDM over the ME_(PDM) for those domains owned by the same remote owners on both the THSM and the ME. Thus the formation and management of any ME domain that is owned by the same remote owner who also owns a domain on the THSM must occur in a manner that conforms to the policy of the SDM.

Still referring to FIG. 4, a base code boot may be completed by ME 402 at 41. At 415, the THSM may securely boot. The THSM may load DO's domain, SDM included; where the SDM may provide: 1) resources available for domain building; and/or 2) a list of acceptable domains to user. At 42, the THSM may complete its boot. At 425, the ME may complete its boot. At 43, the ME may indicate that its boot is complete. During this process the DM's domain may be built, an optional user domain (ME_(U)) may also be built, and available resources are checked. The DM's domain may include the ME_(PDM) which provides the initial configuration and specification of the domain policy for the ME device. By virtue of the pre-configuration of the ME_(DM), this policy may be made to be consistent with that of the SDP in regard to the policies for those domains, such as the ones on the THSM and others on the ME, with common remote owners, between the ME domain and the THSM domain.

Still referring to FIG. 4, the ME, with its pre-configured domains, may send a “boot complete” message at 431 initiating an RTO. This message may comprise explicit information about DM domain policy and available resources in the ME. At 44, a request to start RTO, including target domain plan, may be sent. At 455, a decision may be made by TD*_(Target) _(—) _(RO) 408 to either accept or reject the RTO start request. At 45, a message may be sent indicating whether the RTO should be started. Alternatively, at 456, an RTO may originate with TD*_(Target) _(—) _(RO) 408. At 451, TD*_(Target) _(—) _(RO) 408 may send an “intention to start RTO final domain plan.”

The SDM may react to the ME boot message by evaluating the THSM's system-wide domain policy (SDP) and determining what restrictions are to be imposed or allocated on the ME domains. These policy restrictions may include what domains, as per their associated remote owners, are allowable, on the ME and the THSM. The SDM may determine what system-wide resources the ME is allowed to use for the domains owned by the same remote owner who has domains on the THSM, including those of which he has been made aware of. The ME_(PDM) may receive this information via the message in Equation 7. The SDM may also include the policy restrictions to its base policy and allowable resources to its resource list. After the ME_(PDM) receives the information, then it may exercise certain privileges in terms of making and enforcing decisions regarding management of the resources and domains on the ME without requiring to get permissions from the SDM for all such decisions.

Still referring to FIG. 4, the process may continue at 465. At 465, the following may be checked and/or evaluated: SDP, available resources, and/or acceptable domains and/or states. At 46, an “OK to start” signal may be sent. At 47, a request for TPIA, TPES, MPID and MPES may be sent. At 475, SDM 406, for example, may collect/concatenate integrity attestations from existing domains over a range of PCR's per domain, and/or, collect and/or concatenate TPES information.

At 471, a request for MPID and MPES may be sent. At 476, the response to the request for MPID and MPES may be handled by the MTE. At 48, the MPID and MPES may be sent with a proof of trust, with a signing key. At 481, the TPIA, TPES, MPID and MPES may be sent from SDM 406 to TE*_(Target) _(—) _(RO) 408. At 485, the THSM may compute the digest MPIA from the MPID (raw data) and check the MPIA. If acceptable, the digest MPIA may be sent to the RO. At 49, a request may be sent for TPIA∥TPES∥MPIA∥MPES∥Purpose∥RTO.

Referring to FIG. 4A, and continuing the RTO process, at 410, the TPIA∥TPES∥MPIA∥MPES∥Purpose∥RTO message may be sent to Target RO 410. At 418, Target RO 410, for example, may perform one or more of the following: check TPIA, TPES, MPIA, MPES and purpose; determine trustworthiness of pristine domain against RIMTDRO; check DP for acceptability; or create CONFIG to build complete domain state.

An alternative to the above is for TD*_(Target) _(—) _(RO) 408 to request a simple indication from the SDM of the trustworthiness of the ME instead of MPIA and MPES; in that case, the SDM provides TPIA, TPES, and the ME trustworthiness indication. The SDM, however, still requests and receives MPIA & MPES from the MTE.

Still referring to FIG. 4 a, at 411, message CONFIG∥DP∥RIM_(TDRO)∥RO may be sent. At 412, the CONFIG∥DP∥RIM_(TDRO)∥RO message may be transferred. At 428, a domain may be built and configured, and, integrity may be checked versus RIM_(TDRO). In addition, ownership may be taken of TD*_(Target) _(—) _(RO) thus converting it to TD_(Target) _(—) _(RO). At 413, a domain complete message may be sent. At 414, the domain complete message may be transferred.

FIGS. 5 and 5A illustrate an exemplary call flow diagram for a Remote Take-Ownership with full attestation (e.g., relating to the fourth embodiment). For example, FIGS. 5 and 5A illustrate exemplary calls between one or more of SDM 502, TD_(DO) 504, ME_(PDM) 506, ME*_(Target) _(—) _(RO) 508 and Target RO 510. The arrows in FIGS. 5 and 5A may represent the origin/destination of a call. At 51, a base code boot complete message may be sent. In response, at 515, the THSM may securely boot and load the DOs domain, including the SDM. At 52, a THSM boot complete message may be sent. In response, at 525, the ME may securely boot, which may include loading the DMs domain, ME_(PDM) included; as well as checking available resources. The ME_(PDM) may provide an initial configuration that specifies domain policy consistent with SDP and available resources. At 53, a message may be sent that the ME secure boot is complete, including the DM's domain (policy information) and available resources in the ME. At 531, the “ME boot is complete” message may be transferred to SDM 502. At 535, SDM 502, for example, may evaluate system-wide policy and determine allowable domains, resources and policy restrictions for the ME. At 54, a message may be sent providing information on domain policy restrictions and/or allowable resources. At 545, a policy restriction may be appended to the base policy, and, if necessary, the resource list may be amended.

Elements 55-511 of FIGS. 5 and 5A may be similar to elements 45-414 as shown in FIGS. 4 and 4A. The evaluation of the values MPIA and MPES may be similar to those in equations 14 through 19. The ME may be MTM capable and it may be configured to compute the digest MPIA by itself, not just raw data MPID. The updated policy restrictions conveyed by SDM may be checked such that no prohibited domains or domains policies are realized. The policy check and evaluation may be performed by the ME_(PDM).

At 55, a request to start a RTO may be sent, which may include a target domain plan. At 555, a decision may be made to either accept or reject the RTO request by ME_(PDM). At 551, a message may be sent indicating whether the RTO should be started. In an alternative, at 556, an intent to start RTO may originate with ME target. At 56, an intent to start RTO message may be sent. At 565, the following may be checked and/or evaluated: 1) expanded domain policy; and/or 2) available resources, acceptable domains and states as per expanded policy. At 561, a message may be sent indicating that it is acceptable to start the RTO. At 57, a request for MPIA and MPES, from ME domain set, may be sent. At 575, collections and concatenations of integrity attestations from existing domains (MPIA) over a range of PCRs per domain may be performed, as well as collection and concatenation of MPES information. At 58, the MPIA and MPES may be sent. At 59, a MPIA∥MPES∥Purpose∥RTO request may be sent (message integrity and confidentiality may be protected with certified public/private keys). At 595, Target RO 510, for example, may perform one or more of the following: check MPIA, MPES and purpose; determine trustworthiness of pristine domain against RIM_(TSIM); check DP for acceptability; or create CONFIG to build complete domain state. At 514, message CONFIG∥DP∥RIM_(TSIM)∥RO may be sent. At 515, a domain may be built and configured, and, integrity may be checked versus RIM_(TDRO). In addition, ownership may be taken of ME*_(Target) _(—) _(RO) thus converting it to ME_(Target) _(—) _(RO). At 511, a domain complete message may be sent (signed, integrity protected). The ME may communicate directly with the Target RO so that no message transfers, such as those shown in FIGS. 3 and 3A, may be used, and the number of messages may be reduced. The details regarding the required certificates for public/private key exchange in the messaging between the ME and the Target RO along with those regarding RIM certificates for pristine engine trustworthiness verification are not shown in FIG. 5.

FIG. 6 illustrates exemplary state definitions, transitions, and control point definitions of the THSM. As an example, the lifecycles for the M2M Communication Identity Module (MCIM), whose definition and basic functionality has been defined in PCT patent application WO 2009/092115 (PCT/US2009/031603), have been defined herein. The THSM may improve and generalize the functionality and features, including state definitions and transitions, of the MCIM.

At 601, the THSM may be in a pre-boot state. A first user may power on the THSM, the THSM may securely boot and the THSM may be at state 602. At 602, a DM and DO may exist in a pristine state. The DM domain may be built from a pre-configured file and the THSM may be at state 606. At 606, the THSM is in a post boot 2 state, where the TD_(DM) may be loaded. From 606, a DO domain may be built from pre-configured or downloaded files, leaving the THSM at state 605. At 605, the THSM may be in a post boot 3 state, where the TD_(DO) domain may be built, however, a TD_(U) or TD_(RO) may not be loaded. From state 605, a DOs domain (SDM) may load a user's domain, leaving the THSM at state 604. At 604, the THSM may be in post boot state 2 a, where TD_(U) is loaded, but RO domains may not be loaded. From state 605, a pristine RO domain may be built based on the SDP, leaving the THSM at state 707. At 707, the THSM may be in post boot state 7, where a TD_(RO) and TD_(DO) have been loaded, however, a TD_(U) may not be loaded. From state 607, TD_(DO) (SDM) may load TD_(U), leaving the THSM at state 608. At 608, the THSM may have DO, DU and RO domains loaded.

From state 601, a user may power on and the THSM may securely boot, leaving the THSM at state 603. At 603, the THSM may be loaded with a stored configuration, where the stored configuration was the configuration prior to the most recent power off. From state 603, a post boot transaction may take place that changes a configuration, leaving the THSM at state 610. At 610, the THSM is in a state where one or more previously active states become inactive. Similar to the process of arriving at state 610 from 603, the THSM may be in a state 609, where the THSM has one or more active domains. From state 609, a transition may take place as a result of a configuration changing event, leaving the THSM again at state 610.

At states 604, 605, 607 and 608, the THSM may be reconfigured with new policy and/or executables or transition to inactive state. In addition, at state 605, an SDP may be stored.

In a first method for domain management, the policy from a domain owner, i.e., the system-wide domain policy (SDP) may be very restrictive and “static,” and may have hard rules about new domain activities or purposes. These policies may tend to alleviate the need to communicate to the ROs every new domain entry or existing domain updates.

In a second method for domain management, the SDP may be less restrictive and allow more flexibility in terms of activities and purposes. Every new domain entry and every domain change may be reported to the existing domain owners. This may result in a more dynamic system of policy enforcement in which initial and follow up negotiations between platform and RO can take place.

Referring to the first method for domain management, the SDP may specify the domains that are allowed without exception in a pre-configured list. This list may comprise information regarding the types of RO's and how many (for each type) are allowed. The list may also include the kinds of services the ROs can provide once they have their domains set up. A prospective RO may be one that meets the criteria indicated by the list. The RO may be alerted as part of the RTO process, for example, as shown in Equation 9, as to the conditions such as the list and policy constraints. The RO, upon receipt of the SCARD, may independently decide whether or not it wants to be a stakeholder on the platform or device in question. The conditions sent to the RO may comprise domain types and their purposes, but not the actual names of the lists of any other ROs, so as to protect identities of the other ROs. If the RO decides to follow through with the RTO it may be assured that no deviation from the policy will be allowed by this RO or any other RO currently active on the platform or any other RO that could become active in the future. As a result the RO may not need to be, and may not be, alerted to subsequent RTOs that might take place.

Referring to the second method for domain management, only relatively broad restrictions, such as what remote owners are allowed without identifying any specific RO types, and policies that allow more interactions, such as requests for more information from the RO to the SDM or some negotiations, may be performed during the RTO process. There may also be ongoing collaboration between the SDM and all ROs as the domain configurations change. Thus, initial, and even follow up, negotiations may occur as part of the RO/SDM dynamics.

As part of the RTO process the RO may be given attestation and policy condition information it requires such as TPIA, TPES, and SCARD which may include more general information, compared to the case of the first method, regarding the configuration and its trustworthiness. Based on the existing domain configuration, the target RO may decide whether or not to continue with the RTO. Unless the target RO immediately decides against taking ownership, a negotiation process with the SDM may ensue. For example, the SDM may demand from the target RO what domain types and attendant services can be active while the target RO's domain is active, or what procedures to pursue in the event that a domain type for which it objects to is about to become active. The RO may require, for example, that its own domain be rendered inactive when certain other domain types or even domains owned by certain other ROs become active or are about to become active, or it might require that it remain active but in a diminished capacity or capability. The SDM may also request from the RO what event occurrences for which it should be alerted. Such events might include domain types, for which it objects, becoming active or inactive. The RO may require that other domain types or domains held by certain other owners be entirely blocked from any activity while its own domain is active.

The SDM may decide to accept or reject such conditions. Although operating with a broad set of policy requirements the SDM may have the latitude and semantic capability to decide whether accepting the demands from the RO may still comply to the letter or intent of a “static” System Domain Policy (SDP).

FIG. 7 illustrates exemplary states that RO domains may achieve and the conditions under which the transitions can occur in a dynamically managed environment. At 701, a null state may exist, e.g., an RO may not be built. From 701, a pristine RO domain may be built according to a SDP, leaving the RO domain at state 702. From 702, a RTO process may be performed, including the RO acquiring a TPIA, TPES and SCARD. Further, the RO may accept the conditions of the RTO, leaving the RO domain at state 703. From 703, it may be determined that there is a policy conflict with a newly active domain, and in response, reducing the functionality of the RO domain or rendering it inactive, leaving the RO domain at state 704. Also from 703, the RO domain may receive an updated policy/configuration change, resulting in the RO domain having a modified configuration and/or updated policy restrictions. From 706, it may be determined that there is a policy conflict with a newly active domain, and in response, reducing the functionality of the RO domain or rendering it inactive, leaving the RO domain at state 704. Also from 703, a new software component may be introduced via a download or RTO, resulting in a modified/expanded state of the RO domain, leaving the RO domain at 705. From 705, it may be determined that there is a policy conflict with a newly active domain, and in response, reducing the functionality of the RO domain or rendering it inactive, leaving the RO domain at state 704.

As illustrated at 711, a RO domain at state 702, 703, 704, 705 or 706 may become null, for example, deletion by the DO, RO, etc. As illustrated at 741, an inactive/reduced functionality RO domain may move to state 703, 705 or 706, for example, by resolving the conflict that caused the RO domain to move to state 704. As illustrated at 751, an RO domain at state 705 may move to state 703, 704 or 706. As illustrated at 761, an RO domain at state 706 may move to state 703, 705 or 706.

With Respect to Management of RO Domain what may be allowed as part of dynamic domain management is for negotiating requirements to change as events unfold. For example, the RO might decide that a certain service offered by another RO, previously objectionable, is now permissible as a result of deciding that it no longer needs to compete with that service. Changes to business models over time may affect negotiating strategies and policies by prospective ROs. A SDP employing a dynamic policy structure can be made to accommodate such strategy alterations.

In services such as, but not limited to, M2M geo-tracking combined with smart-billing, preferred roaming partnerships or closed group of RO's may form. Such grouped services, where different operators providing similar or different services partner among each other, may lead to preferred closed groups. Such a preferred group of services, operators, or both may be offered as a bundled service or a package deal to a device user.

In a first example, a package may be tracked as it travels around the globe. Millions of such geo-tracking devices may be utilized. As the package traverses the continents, it is provided connectivity by different operators in different countries. Thus, to get connectivity, the user may need to subscribe to multiple roaming profiles. These roaming profiles, that span various remote operators will be managed as inter domain policies since each domain is owned and managed by a remote operator. The policies can also be enforced to support complete handover to the new service provider instead of supporting roaming based solutions.

In a second example, a partnership between smart metering operators and geo-tracking operators is described. These domains may be owned and operated by different operators. Due to business partnerships or user preferences, domains may be combined to support a joint profile. For billing based on the usage of resources, such as labor, storage, or parking, smart billing may be used alongside the tracking of the packages. Such cases of co-existing services falling into separate categories may use the support of an inter domain policy management.

An Inter Domain Policy Manager (IDPM) may manage the policies governing the group behavior of Domains. Inter Domain Policies (IDP) may be downloaded by each RO during the RTO process. The IDPs may be authenticated by a certificate which is signed by each RO. These certificates may be issued along with the IDP. Alternatively, these policies may be certified and downloaded by external service dealers. Device Users or Device Owners interested in creating a preferred operator list may create IDPs. The IDPM may process these policies by evaluating an acceptable intersection of the candidate policies or priority selecting IDPs and then enforcing the resultant policy.

An IDPM can be alternatively added to the SDM as one of its functionality, or as a separate entity which can be loaded (built) or downloaded onto a THSM.

As part of the attestation protocol, the TD_(RO) may send to the RO a hash of the TPIA, TPES, and SCARD, instead of sending these measurements in full. The RO may have a means, either by itself or by way of a TTP, to verify such hashes and thereby make assessments of the viability of the TDRO and the surrounding systems. This method may be similar to a Semi Autonomous Validation (SAV) as has been specified in PCT patent application WO 2009/092115 (PCT/US2009/031603). Any one or two of the TPIA, TPES, and SCARD measurements may be sent out during the attestation phase.

The THSM may be embedded integrally as part of the ME. The RTO process for such a device may be simplified, since the process will rid of the interface between the ME and the THSM.

Although features and elements are described above in particular combinations, each feature or element can be used alone without the other features and elements or in various combinations with or without other features and elements. The methods or flow charts provided herein may be implemented in a computer program, software, or firmware incorporated in a computer-readable storage medium for execution by a general purpose computer or a processor. Examples of computer-readable storage mediums include a read only memory (ROM), a random access memory (RAM), a register, cache memory, semiconductor memory devices, magnetic media such as internal hard disks and removable disks, magneto-optical media, and optical media such as CD-ROM disks, and digital versatile disks (DVDs).

Suitable processors include, by way of example, a general purpose processor, a special purpose processor, a conventional processor, a digital signal processor (DSP), a plurality of microprocessors, one or more microprocessors in association with a DSP core, a controller, a microcontroller, Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) circuits, any other type of integrated circuit (IC), and/or a state machine.

A processor in association with software may be used to implement a radio frequency transceiver for use in a wireless transmit receive unit (WTRU), user equipment (UE), terminal, base station, radio network controller (RNC), or any host computer. The WTRU may be used in conjunction with modules, implemented in hardware and/or software, such as a camera, a video camera module, a videophone, a speakerphone, a vibration device, a speaker, a microphone, a television transceiver, a hands free headset, a keyboard, a Bluetooth® module, a frequency modulated (FM) radio unit, a liquid crystal display (LCD) display unit, an organic light-emitting diode (OLED) display unit, a digital music player, a media player, a video game player module, an Internet browser, and/or any wireless local area network (WLAN) or Ultra Wide Band (UWB) module.

II. Registration and Credential Roll-Out for Accessing a Subscription-Based Services

A user of a device may desire to create a subscription relationship with a provider of a subscription-based service. For example, a user of a UE such as device 100, 110, or 120 of FIG. 1 or UE 200 of FIG. 2 may desire to register as a subscribed user of a subscription based service provided by a remote owner. Provision of the subscription-based service may be facilitated by a third party (e.g., the third party may sell the subscription based service to the user on behalf of the remote owner). The remote owner may have taken ownership of a domain on the device, which may be referred to as a remote owner domain, as described above relating to the RTO process. Further, the user may have taken ownership of a domain on the device, which may be referred to as a user domain.

In order for a user to access the subscription based service, registration and credential roll-out may need to take place. Registration and credential roll-out may comprise one or more of: registering the user with the remote owner as a subscribed user of the subscription-based service, where such service may be rendered by the remote owner through the remote owner domain, obtaining credentials from the remote owner that may enable the user to use the subscription-based service as a subscribed user and/or storing the credentials in the remote owner domain. The credentials may allow the user to use the subscription-based service via the device. The term credential may include traditional credentials (e.g., keys, IDs, certificates, etc.). The term credential may include other context-relevant data and applications such as executables and applets used for subscription management functions.

The systems and methods disclosed herein contemplate a user being able to access multiple subscription-based services via a device or devices. For example, as described above relating to FIGS. 1 and 2, as well as in relation to the RTO process, a device may have multiple domains that may be owned by different remote owners. The user may subscribe to multiple subscription-based services from the multiple remote owners.

Registration and credential roll-out may occur long after the time that a remote owner has taken ownership of a remote owner domain. A wireless device with wireless phone capability may be used as an example. Multiple wireless carriers may have taken ownership of multiple domains on the device (e.g., each wireless carrier being a remote owner). For instance, wireless carrier 1 may have taken ownership of remote owner domain 1 and wireless carrier 2 may have taken ownership of remote owner domain 2. However, the user may have initiated registration and credential roll-out relating to the subscription-based service (e.g., wireless phone service) of wireless carrier 1 and not wireless carrier 2. For example, wireless carrier 1 may have offered the user a better deal on overall wireless phone services than wireless carrier 2. At a later time (e.g., days, months, years), the user may initiate registration and credential roll-out relating to the subscription-based service (e.g., wireless phone service) of wireless carrier 2. For example, wireless carrier 2 may now provide a better deal on long-distance calling than wireless carrier 1. The user may use both subscription-based services because registration and credential roll-out has been completed for both. For example, the user may use the wireless phone service of wireless carrier 1 for local calls and the wireless phone service of wireless carrier 2 for long-distance calls. This example assumes that neither remote owner has set-up rules prohibiting such an arrangement (e.g., see RTO process). This example also illustrates that registration and credential roll-out may occur long after the time that a remote owner has taken ownership of a remote owner domain.

Entities included in the registration and credential roll-out process may include one or more of the following: a user, a user domain, a remote owner, a remote owner domain, a third party, or a component to facilitate semi-autonomous validation (e.g., a system-wide domain manager). Relating to registration and credential roll-out, the entities may have attributes as follows.

A user may be a user of a device seeking to subscribe to a service, such as a subscription-based service. Examples of such subscription-based services may include, but are not limited to, financial services, cellular communication services, internet connectivity services, music/video/multimedia subscription services, identity services, location-based services, email/messenger/social-networking services, e-book services, gaming services, etc. The user may also be an owner of the device. The user may initiate registration and credential roll-out. The initiation may comprise the user sending personal data and/or conventional login information. The user may also be referred to as a subscriber, e.g., when relating to actions associated with a subscription-based service to which the user is subscribed/subscribing.

A user domain (TU_(u)) may be a domain on the device relating to user functionality. The user domain may be an optional domain. The user domain may be part of a THSM as described herein, e.g., see FIG. 2. The user domain may be created and provided with its functionality during the initial boot sequence of the platform. An owner domain (TD_(o)) may perform the functions of the TD_(U) for a configuration that does not include a user domain. The user may initiate registration with the TD_(U) by supplying a username (ID_(U)), password (PW_(U)) and personal registration data (REGDATA_(U)). The TD_(U) may generate a process ID (PID_U) as part of user registration. This information may be used in initiating registration and requesting credential roll-out. For example, this information may be associated with a particular request (e.g., a particular registration and/or credential roll-out request), and may be used to discern or mark different sessions or processes for registration and/or credential roll-out. The user and the user domain may communicate via the ME. Pre-provisioned keys K_(temp) _(—) _(C) (e.g., for confidentiality) and K_(temp) _(—) _(I) (e.g., for integrity/authentication) may be used to secure messaging across the ME/THSM interface. Asymmetric key pairs may be used to secure messaging across the ME/THSM interface. The ME may not be shown in relation to FIG. 8. User communication to the THSM may occur via the TD_(U).

A remote owner (RO) may provide the subscribed service to the user via the device. The remote owner may provide credentials that may be required for the user to use the subscribed service. The credentials may include an authentication key K that may serve as a strong secret between a remote owner domain and the remote owner. As an example, A RO may be one or more of the following: an MNO, other communication network operator (e.g. WLAN, WiMax, etc.), an email service provider, an internet service provider, a social-networking service provider, a digital content (music, e-books, video, etc) provider, a gaming service provider, a financial services provider, an application service provider (e.g. a service provider in mobile payment, mobile ticketing, DRM, mobile TV, location-based services, etc.), or an IMS service provider, etc.

A remote owner domain (TD_(RO)) may be a domain on the device that may provide functionality defined by the remote owner. The remote owner domain may be part of the THSM as described above, e.g., see FIG. 2. The remote owner domain may have TSIM functionality as described in relation to the RTO process described above. The remote owner domain may store credentials provided by the remote owner. The TD_(RO) may receive the user's ID and the process ID (ID_(U), PID_U) from the user domain and variously use this information during registration and credential roll-out.

A POS (a point of sale or point of service entity) may be a third party that facilitates sale/servicing of the subscription based service to the user. The POS may facilitate the sale via tickets as described in relation to FIG. 8. As an example, a POS may be a retail store (online, brick and mortar, etc.) selling, and/or performing the pre-sales and post-sales customer service duties of, the subscription-based service of the remote owner.

A system wide domain manager (SDM), e.g., the SDM disclosed in Section I., may provide attestation information relating to one or more platforms as part of registration and credential roll-out. For example, upon request during registration and credential roll-out, a semi-autonomous integrity confirmation may be provided by the SDM. The SDM may be part of the THSM, such as a component of a domain, e.g., see FIG. 2.

Registration and credential roll-out may comprise one or more of the following:

-   -   The POS may associate a ticket with a user. The ticket may         establish the user's identity and may be presented when a         request for credentials is made to the remote owner. Tickets,         such as the ticket given to the user, may be dispensed by the RO         to the POS (e.g., in pre-generated sets). A ticket may comprise         information to be used in the registration and credential         roll-out process. For example, the information may include a         “triple,” the triple comprising: an identifier (e.g., the IMSI),         a random number (RAND) that may serve as a challenge number to         the remote owner, e.g., when a request for credentials is made,         and a ticket authentication value (AUTH).     -   A user domain, on behalf of the user, may request registration.     -   The POS may report the user's identity to the remote owner         (e.g., the dispensed ticket may provide an identifier such as an         International Mobile Subscriber Identity—IMSI) along with the         user's associated personal registration data.     -   The user may request credential roll-out using the identifier         (e.g., the IMSI).     -   The credentials may be delivered to the device, e.g., to the         remote owner domain, which may be used to access the         subscription service. The remote owner domain may provide TSIM         functionality in managing the subscription service.

Registration and credential roll-out may occur in a secure manner. One or more of the following pre-conditions may be satisfied and/or assumed for user registration and credential roll-out to occur in a secure manner:

-   -   The THSM/ME platform may be considered to be in a trustworthy         state and may be able to report the status of the platform         configuration, or portions of it, upon request by the remote         owner whose domain was previously configured via the remote take         ownership (RTO) protocol. The device may include an ME that may         not be considered to be a “completely trusted” platform         component. The trustworthiness of the ME may be periodically         monitored by the THSM. The interface connecting the ME and THSM         may not generally be considered secure. It may be assumed that         the ME has full MTM capabilities and can attest to its         integrity.     -   Attestation of the platform, which may be implemented in one or         more of the following ways:         -   Attestation reporting that includes the use of the TPIA,             TPES, and SCARD, e.g., see the RTO process.         -   A scaled version of remote validation that may include             sending a hash of the current configuration to the RO. This             type of attesting may be employed when seeking to avoid the             transfer of large amounts of data.         -   Semi-autonomous validation, which may include performance of             an internal integrity check, and providing a confirmation             that the platform is secure.     -   The credentials may be downloaded remotely. The POS may take         part in registering the user with the remote owner.         Communication with the POS may occur in one or more of the         following ways.         -   The user may communicate with the POS over the air (OTA) or             over an internet link when it sends its identification             information and registration data.         -   After the user completes the registration login step with             the handset, the user domain may communicate over the             internet with the POS relating to the registration and             credential rollout process.     -   The POS may be considered to be trustworthy enough to handle the         ticket dispensing function. Accordingly, the POS may have a         certified key pair set denoted as K_(POS-Priv) and K_(POS-Pub)         with an associated certificate of Cert_(POS). These may be used         in registration and credential roll-out in conjunction with the         key sets for the remote owner (K_(RO) _(—) _(Priv), K_(RO) _(—)         _(Pub)) and the TSIM (K_(TSIM-Priv), K_(TSIM-Pub)), with         associated certificates Cert_(RO) and Cert_(TSIM) respectively.     -   The communication between the user and the user domain may         assume use of the ME as a go-between, where the messages         intended for use by the user are displayed on the screen of the         handset. These messages may employ temporary keys K_(temp) _(—)         _(I) and K_(temp) _(—) _(C) for integrity and confidentiality         protection respectively and the ME may interpret (e.g., decrypt         and/or verify signatures) for the user.     -   Registration and credential roll-out may be flexible to the         extent that it may allow for multiple registrations and         credential requests from the same user or possibly multiple         users. As an example, each user may establish one (and only one)         registration for a given trusted domain (TD_(RO)) but may         establish multiple registrations across multiple such domains.         However, multiple distinct users may each have their own         registration for one such domain. Each TD_(RO) may have one RO,         but the RO may manage multiple registrations, each registration         for a distinct user. It may also be possible for a given RO to         own more than one TD_(RO). Given a multiplicity of users and         trusted domains corresponding to possibly multiple remote         owners, process IDs may be generated, e.g., by the user domain,         the POS and the remote owner, and used to prevent ambiguity         relating to multiple registrations. For a given registration and         credential request, three process IDs, which are closely         associated, may be generated: PID_U (by the user domain),         PID_POS (by the POS), and PID_RO (by the remote owner). The         PID_U may be used by entities within the THSM when communicating         with either the POS or remote owner to identify the user domain.         These IDs may be sufficient to uniquely identify a given         registration process.     -   Communications between the trusted entities may be protected         using public-private key pairs, where the public keys may be         distributed via certificates issued by a certificate authority         (CA).     -   During registration and credential roll-out, nonces may be         employed to prevent replay attacks. The nonces may be numbered         consecutively or otherwise ordered sequentially, or, may include         consecutive or otherwise sequentially ordered numbers. Certain         internal domain-to-domain interactions, where descriptive nonce         designations are used, may not be numbered consecutively. For         round trip communications between two entities, the first nonce         sent may be sent back (not in the clear) to its place of origin         along with a new nonce (in the clear) in the return message. The         entity receiving the return nonce may not require that it be         sent in the clear, given that the value was created by it         initially and may therefore be known.     -   Signatures may be applied to cryptographic hash values of fixed         bit length computed, for example, by an unspecified version of         the SHA algorithm, which may be denoted herein as SHA-X.

A method illustrating registration and credential roll-out may now be demonstrated with reference to FIG. 8. FIG. 8 illustrates exemplary call flows implementing a registration and credential roll-out process. The call flows may be expressed as equations. An equation may comprise security functions that may be associated with the respective flow. The call flows illustrated in FIG. 8 are meant to be exemplary. It is to be understood that other embodiments may be used. Further, the order of the flows may be varied where appropriate. In addition, flows may be omitted if not needed and additional flows may be added.

At 1, POS 30 may make a request to a remote owner, RO 40, for pre-generated tickets that may be distributed to various authorized users, such as user 32.

Package_(—)0=ticket request∥ID_(POS)∥nonce0

POS→RO: Package_(—)0∥Cert_(POS)∥[SHA-X(Package_(—)0)]K _(POS-Pri)  Equation 1

At 2, RO 40 may check the validity of the POS signature with the public key K_(POS-Pub) (e.g., received in the certificate Cert_(POS)) and respond by sending an indexed set of tickets that may be used when registering users, such as user 32.

Package_(—)1=Ticket_(i)∥nonce0∥nonce1

RO→POS: {Ticket_(i) }K _(POS-Pub)∥nonce1∥[SHA-X(Package_(—)1)]K _(RO) _(—) _(Priv)∥Cert_(RO)  Equation 2

Each ticket in the indexed set may comprise a triple:

Ticket_(i)=(IMSI_(i)∥RAND_(i)∥AUTH_(i)|)

The IMSI (international mobile identity subscriber identity) may serve as a unique identifier of a user/subscriber, e.g., when requesting service credentials. The RAND value is a random number that may provide a freshness indication of the ticket itself and AUTH is a means by which the integrity and authenticity of the ticket may be verified. The signature of the Package_(—)1 hash using the key K_(RO) _(—) _(Priv) (the ROs private key) may protect the integrity of the message while authenticating the remote owner.

For the message sent at 2, POS 30 may decrypt the ticket set using its private key K_(POS) _(—) _(Priv) and verify the remote owner signature using the public key K_(RO) _(—) _(Pub) (e.g., received in certificate Cert_(RO)). As indicated in equations 1 and 2, nonce0 makes a round trip (from sender to receiver and back to sender), which may be required for secure communication.

At 3, user 32 registers with user domain, TD_(U) 34, e.g., in the THSM, and may provide information such as an ID, password and/or registration data.

Package_(—)2=ID_(U)∥Password_(U)∥REGDATA_(U)∥nonce_(U)

User/Owner→TD_(U):

ID_(U)∥nonce_(U)|REGDATA_(U)∥{Password_(U) }K _(temp) _(—) _(C)∥[SHA-X(Package_(—)2)]K _(temp) _(—) _(I)  Equation 3

The process at 3 may be viewed as a typical login and registration procedure. The encryption and signature features of the message, as well as the use of the nonce nonce_(U), may reflect the implied presence of the ME and may be transparent to the user. This transparency may relate to other communications between the User/Owner and the TD_(U) throughout the method illustrated in FIG. 8.

The ID_(U) and Password_(U) (also denoted PW_(U)) may be a unique username and password pair created by the user for each of the accounts it sets up on the platform. ID_(U) may identify the user with respect to a specific account and the associated password Password_(U) may be secret (e.g., known by the authorized user, but not others) and may be used for user authorization. REGDATA_(U) may comprise user personal information.

At 4, TD_(U) 34 may read and store the information in the message received at 3 and generate a process ID (PID_U). K_(temp) _(—) _(C) and K_(temp) _(—) _(I) may represent, respectively, confidentially and integrity keys that may be pre-provisioned. This may enable TD_(U) 34 to decrypt the password (Password_(U)) and verify the hashed signature of Package_(—)2. The PID_U may be sent to POS 30 together with the REGDATA_(U) to start the registration and ticket request process. The PID_U may be a first process identifier.

Package_(—)3=PID_U∥REGDATA_(U)∥nonce3

TD_(U)→POS:

PID_U∥nonce3∥Cert_(TDU)∥REGDATA_(U)∥[SHA-X(Package_(—)3)]K _(TDU-Priv)  Equation 4

At 5, POS 30 may, after receiving PID_U and REGDATA_(u), generate its own PID (PID_POS) and associate it with PID_U and the user registration information. When the platform communicates to POS 30 with PID_U, POS 30 may view the message as part of the registration process identified by PID_POS. Hence multiple registration processes may occur simultaneously. The PID_POS may be a second process identifier. With the certificate Cert_(TDU), POS 30 may be able to verify the signature of SHA-X (Package_(—)3) using the public key K_(TDU-Pub). POS 30 may respond to the message at 4 by sending PID_POS back to TD_(U) 34 with PID_U, e.g., as illustrated in the following message.

Package_(—)4=PID_U∥PID_POS∥nonce3∥nonce4

POS→TD_(U): PID_U∥PID_POS∥nonce4∥Cert_(POS)∥[SHA-X(Package_(—)4)]K _(POS-Priv)  Equation 5

TD_(U) 34 may verify the signature of SHA-X (Package_(—)4) with K_(POS) _(—) _(Pub) obtained from the certificate Cert_(POS). The communication between the TD_(U) 34 and POS 30 may take place over the air or an internet path.

At 6, TD_(U) 34 may send a registration request to TD_(RO) 38. The PID_U and PID_POS may be sent as part of the message to enable TD_(RO) 38 to make the relevant process associations. User identification ID_(U) may be included in the message, which TD_(RO) 38 may use as a check against the service profile of the particular user making the registration attempt. This feature may provide flexibility for multiple user registrations with respect to the same domain.

Package_(—)5: Registration Trigger∥PID_U∥PID_POS∥ID_(U)∥nonce4∥nonce_(TDU1)

TD_(U)→TD_(RO): Package_(—)5∥Cert_(POS)∥Cert_(TDU)∥[Package_(—)5]K _(TDU-Priv)  Equation 6

TD_(RO) 38 may be able to verify the signature of TD_(U) 34 using the public key K_(TDU-Pub) obtained from the certificate Cert_(TDU).

At 7, TD_(RO) 38 may make a ticket request to POS 30 in the following message. POS 30 may expect nonce4 which it sent to TD_(U) 34 in message 5 and was passed to TD_(RO) 38 in message 6. Package_(—)6 with nonce4 may be signed using the private key K_(TSIM-Priv). POS 30 may be able to associate this request with the registration data sent at 4 using the process ID PID_U.

Package_(—)6=Ticket_request∥PID_U∥nonce5

TD_(RO)→POS: Package_(—)6∥Cert_(TSIM)∥[SHA-X(Package_(—)6∥nonce4)]K _(TSIM-Priv)  Equation 7

POS 30 may verify the signature in this message using public key K_(TSIM-Pub) that it may obtain via certificate Cert_(TSIM). POS 30 may recreate the SHA-X using Package_(—)6 (sent in the clear) and nonce4.

At 8, after the registration request (the ticket request) is received by POS 30, it may fetch a ticket from the set received earlier from RO 40. POS 30 may send this ticket to TD_(RO) 38, e.g., via the THSM. The public key K_(TSIM-Pub), may be used to encrypt ticket_(k) as well as bind the ticket to the recipient.

Package_(—)7=ticket_(k)∥PID_POS∥nonce5∥nonce6

POS→TD_(RO): {ticket_(k) }K _(TSIM-Pub)∥nonce6∥[SHA-X(Package_(—)7)]K _(POS-priv) (k is a fixed value from the ticket set associated with the RO)  Equation 8

TD_(RO) 38 may decrypt (unbind) the ticket_(k) with its private key K_(TSIM-Priv) and verify the signature of Package_(—)7 with K_(POS-Pub) which was obtained via Cert_(POS) in message 6. This process may serve to authenticate and verify the integrity of the ticket. TD_(RO) 38 may make the correct process association using PID_POS. The nonce, nonce5, may be returned to TD_(RO) 38.

At 9, in addition to the ticket sent to TD_(RO) 38, POS 30 may also send a registration message to RO 40 that may comprise REGDATA_(U) and that may identify the user with the ticket_(k). To provide RO 40 with information that may be needed for process association, PID_POS and PID_U may be sent. This may enable RO 40 to associate the received process IDs with the ID it creates for this registration. This message may comprise information that may be needed by RO 40 for providing the designated user with the credentials it may request.

Package_(—)8=∥REGDATA_(U)∥nonce7∥PID_POS∥PID_U

POS→RO:

{ticket_(k) }K _(RO-Pub)∥Package_(—)8∥[SHA-X(Package_(—)8∥ticket_(k)∥nonce1)]K _(POS-priv)  Equation 9

The ticket may be encrypted using K_(RO-Pub) that was obtained by POS 30 in Cert_(RO) in message 2. RO 40 may be able to decrypt ticket_(k) using its private key K_(RO-Priv) and verify the signature of Package_(—)8 using public key K_(POS-Pub). The public key K_(RO-Pub) may have the effect of binding the ticket to RO 40.

At 10, RO 40 may acknowledge receiving the registration information, including the ticket. For example, RO 40 may send the following message to TD_(U) 34.

Package_(—)9=ACK(Reg Data Received)∥PID_U∥PID_RO∥nonce8

RO→TD_(U): Package_(—)9∥Cert_(RO)∥[SHA-X(Package_(—)9)]K _(RO-Priv)  Equation 10

TD_(U) 34 may maintain process identification with RO 40 with the reception of PID_U and PID_RO, generated by RO 40 after receiving the message at 9. TD_(U) 34 may validate the signature of the package_(—)9 hash with the public key K_(RO-Pub) received in the certificate Cert_(RO).

At 11, after receiving the message associated with equation 10, TD_(U) 34 may issue a screen message to user 32 granting user 32 permission to request credentials.

Package_(—)10=can request credential rollout∥nonce9∥PID_U∥ID_(U)

TD_(U)→User/Owner: Package_(—)10∥[SHA-X(Package_(—)10∥nonce_(U))]K _(temp) _(—) _(I)  Equation 11

This message shows the use of the signing key K_(temp) _(—) _(I) that may be applied on the THSM side to be verified using the same key on the ME side, similar to the signing and verification process used in message 3 but in the reverse direction. Nonce_(U) may be returned to the ME by TD_(U) 34 making a round trip. The ID_(U) may be used by the ME and TD_(U) 34 to identify user 32 and together with PID_U associate with the current registration and credential roll-out which may avoid process ambiguity.

The user may initiate credential roll-out, e.g., the user may apply to the remote owner to obtain subscriber-related credentials. At 12, user 32 may respond to the message delivered at 11 with a request for credentials. The password may be protected using the shared encryption key K_(temp) _(—) _(C). Nonce9 may be returned to the TD_(U) 34.

Package_(—)11=Request credential roll-out∥nonce10∥PID_U∥ID_(U)

User/Owner→TD_(U): Package_(—)11∥{Password_(U) }K _(temp) _(—) _(C)∥[SHA-X(Package_(—)11∥PasswordU∥nonce9)]K _(temp) _(—) _(I)  Equation 12

TD_(U) 34 may be able to decrypt the password and verify the signature using the shared key set. The message delivered at 11 illustrates use of the PID_U and ID_(U) combination. The nonces and PIDs may be transparent to the user/owner and may be limited to use by the non-human communicating entities.

At 13, TD_(U) 34 may now carry forward the user request for credentials to TD_(RO) 40, which may trigger it to make the direct request to RO 40. The PID_RO and the PID_U may enable process association with the communicating entities. TD_(RO) 40 may now associate the three process IDs.

Package_(—)12: Request Credential Roll-Out (TSIM)∥nonce_(TDU2)∥PID_U∥PID_RO

TD_(U)→TD_(RO): Package_(—)12∥Cert_(RO)∥[SHA-X(Package_(—)12)]K _(TDU-Priv)  Equation 13

Message verification may be achieved using K_(TDU-Pub) received in Cert_(TDU) received in the message delivered at 6.

At 14, TD_(RO) may make a request to SDM 36 for semi-autonomous integrity verification. Semi-autonomous integrity verification may be limited to use of a hash value of the key integrity indicators (e.g., TPIA, TPES, and SCARD).

Package_(—)13=Request Semi-Autonomous Integrity Verification∥PID_U∥nonce_(TDRO)

TD_(RO)→SDM: Package_(—)13∥Cert_(TSIM)∥[SHA-X(Package_(—)13)]K _(TDRO-Priv)  Equation 14

The certificate Cert_(TSIM) may be sent to allow SDM 36 to acquire the public key K_(TDRO-Pub) for signature verification of the Package 13 hash. Process ID association may be maintained with the use of PID_U. SDM 36 may not need more than PID_U because SDM 36 may not communicate with outside entities, e.g., entities outside the THSM.

At 15, SDM 36 may collect updated attestation information with respect to configuration changes that may have taken place, e.g., since the RTO process. The TPIA, TPES, and SCARD may be updated as necessary and integrity data may be hashed into a single value IV (integrity verification value). The PID_U and IV may be sent to TD_(RO) 34 in the return message. The nonce nonce_(TDRO) may be returned.

Package_(—)14=IV∥PID_U∥nonce_(SDM)

SDM→TD_(RO): Package_(—)14∥Cert_(SDM)∥[SHA-X(Package_(—)14∥nonce_(TDRO))]K _(SDM-Priv)  Equation 15

The signature may be verified with the public key K_(SDM-Pub) obtained in the certificate Cert_(SDM).

At 16, TD_(RO) 38 may make the request for credential roll-out to RO 40. In the message sent at 16, the identifier IMSI_(k) may be sent encrypted with RO 40 public key K_(RO-Pub) which was received by the TD_(RO) 40 in the certificate CertRO in the message at 13. The integrity value IV may be sent for the purpose of trust verification, and the process ID PID_U may be sent to enable process association with the information in the message at 9.

Package_(—)15=Credential Roll-Out Request∥ID_(U)∥IV∥PID_U∥nonce11

TD_(RO)→RO:

{IMSI_(k) }K _(RO-Pub)∥Package_(—)15∥Cert_(TDRO)∥[SHA-X(Package_(—)15∥IMSI_(k))]K _(TDRO-Priv)  Equation 16

RO 40 may decrypt the IMSI_(k) using its private key K_(RO-Priv) and verify the signature using the public key K_(TDRO-Pub) obtained by RO 40 in the certificate Cert_(TDRO).

At 17, the credentials may be sent by RO 40 to TD_(RO) 38. The credentials may be encrypted using the public key K_(TDRO-Pub), obtained from CertTDRO at 16. This may bind the credentials to TD_(RO) 38. TD_(RO) 38 may unbind the credentials using its private key K_(TDRO-Priv). The nonce nonce11 may make a round trip.

Package_(—)16=PID_RO∥nonce12

RO→TD_(RO):

{Cred_(TSIM) }K _(TDRO-Pub)∥Package_(—)16∥[SHA-X(Package_(—)16∥nonce11∥Cred_(TSIM))]K _(RO-Priv)  Equation 17

TD_(RO) 38 may verify the signature using the public key K_(RO-Pub) received in the relevant certificate at 13. The process ID PID_RO provides for the correct process association.

The credential keys may be stored in protected memory or according to the security policy provided in SDM 36, e.g., upon reception of the credentials as indicated in 17. The policy may have been defined during the RTO process. At 18, once rollout is complete, an acknowledgement message may be sent to RO 40.

Package_(—)17=ACK roll-out complete∥PID_U∥nonce13

TD_(RO)→RO: Package_(—)17∥[SHA-X(Package_(—)17∥nonce12)]K _(TDRO-Priv)  Equation 18

The nonce, nonce12, may be returned and process ambiguity may be avoided with PID_U. RO 40 may be able to verify the signature with the public key K_(TDRO-Pub) obtained at 16.

At 19, TD_(RO) 38 may send a rollout complete acknowledgement message to TD_(U) 34. The nonces nonce_(TDU2) (see 13) and nonce_(TDU1) (see 16) may be returned and process ambiguity may be avoided with PID_U.

Package_(—)18=Roll-out complete∥PID_U

TD_(RO)→TD_(U): Package_(—)18∥Cert_(TDRO)∥[SHA-X(Package_(—)18∥nonce_(TDU1)∥nonce_(TDU2))]K _(TDRO-Priv)  Equation 19

The signature may be verified by TD_(U) 34 using the public key K_(TDRO-Pub) obtained in the certificate Cert_(TDRO).

At 20, user 32 may be provided with a screen message from TD_(U) 34 indicating that the credentials have been received and are configured. The credentials may now be available to secure services for which user 32 is authorized. The nonce nonce10 may be returned (see 12).

Package_(—)19=Credentials Installed∥ID_(U)∥PID_U∥nonce14

TD_(U)→User/Owner: Package_(—)19∥[SHA-X(Package_(—)19∥nonce10)]K _(temp) _(—) _(I)  Equation 20

Signature verification may be achieved as described in relation 3, 11, and 12. Use of the PID_U and ID_(U) combination may be achieved as described in relation to 11.

At 21, a message may be sent to POS 30 indicating that ticket_(k) is now in use and should not be distributed elsewhere.

Package_(—)20=Ticket_(k) now in use∥PID_POS∥PID_RO∥nonce15

RO→POS: Package_(—)20∥[SHA-X(Package_(—)20)]K _(RO-Priv)  Equation 21

POS 30 may be able to verify the signature using the public key K_(RO-Pub) obtained in the certificate Cert_(RO) which it received at 2. The PID_RO may enable process association.

Relating to the call flows illustrated in FIG. 8, three nonces may be shown making one trip. That is, they may not be returned in a message subsequent to when they were first communicated. The three such nonces are: nonce8 at 10, nonce_(SDM) at 15, and nonce15 at 21. Although not indicated in the call flow description, it may be assumed that for each of these nonces, an ACK comprising the nonce is sent (returned) by the recipient to the corresponding sender. Thus, for example, nonce8 may be returned to RO 40 via an ACK message by TD_(U) 34 following reception of the message at 10.

III. Migration of Credentials and/or Domains

Systems, methods, and instrumentalities are disclosed for migrating credentials and/or domains, e.g., migrating a domain from one device (source) to another device (destination), migrating a credential from a first domain on a source device to a second domain on a destination device, migrating a credential from a first domain on a device to a second domain on the device, etc. Examples may be provided illustrating a migration of credentials. However, it is to be understood that the migrations disclosed herein are not limited to such embodiments.

A migration may comprise migrating a credential from a first domain to a second domain. For example, a user of a device may have access to a remote owner domain on the device. The user may have credentials stored on the remote owner domain, e.g., where the credentials allow the user to use a service provided by a remote owner associated with the remote owner domain. Further, the user may desire to move, i.e., migrate, the credentials to a different (second) remote owner domain. The second remote owner domain may be on the same device or a different device. For example, the user may have purchased a new device, where the user desires to use the remote owner's service on the new device. The user may desire to move, for example, the TSIM core configuration (core security credentials: permanent identity and shared secret K, and/or TSIM functionality/executables) of the device currently in use to the newly purchased device.

In the TSIM concept, potentially multiple users each having access to one or more remotely owned domains configured on a device may wish to move the TSIM core of one or more of these domains to another device to which the user also has access. The systems, methods, and instrumentalities disclosed herein may describe migration from a source to a destination, where the procedure may be viewed as iterative for the movement of multiple domains.

The credentials and domains may be part of the trusted hardware security module (THSM) framework described herein. Exemplary migrations may be illustrated with reference to a source domain and a target domain that belong to the same owner. However, it is to be understood that the migrations disclosed herein are not limited to such embodiments.

One or more of the following may be satisfied and/or assumed for migration to Occur.

The user (e.g., by virtue of being granted permission by the device owner) may register and create a user domain on which a user profile is stored and maintained on both the source and destination devices.

Migration may include a level of remote owner/operator (RO) involvement. The ROs, as well as the system wide domain managers (SDMs), of both the source and destination devices, may be able to block the migration from proceeding. The RO may determine whether the devices are of a sufficient level of trustworthiness to allow the migration to proceed.

A user profile may comprise user registration data, such as account information indicating services available to that user and other user-personal data, as well as an identifier (e.g., username) and user authentication data (e.g. password, a digest of an actual password, biometric identification data, etc). The registration data and account information of a user who has access to services on multiple devices having one owner may vary from device to device depending on the accessible services for that user on those devices. Migration may include the transfer of the user registration data that pertains to the services associated with the migrated credentials.

The user domain may be necessary for the user to communicate with the device. That is, it may be through the user domain that the user may gain access to the services provided by those domains that are generally remotely owned by service providers.

The device owner can be a user. In some scenarios, the device owner may be the sole user.

The device may be limited to having one owner, but may have more than one user. Each user may have a distinct user domain with a unique configuration defined by the given user's profile.

For the disclosed exemplary migrations from a source device to a destination device, both the source and destination devices may have the same owner.

The user's access may be limited to those services, and thus their associated domains, for which the user is registered and is authorized to use. The Password_(U) (PW_(U)) and ID_(U) may be specific to a particular domain, the domain being migrated, with the possibility that for the same user similar but distinct registration credentials exist for other domains. Depending on the registration credentials provided by the user, the trusted user/owner domain may be responsible for directing and securely provisioning those credentials to the appropriate domain whereby the intended service can be accessed.

In order for migration to occur, it may be necessary that the remote owner (RO) of the source domain has also taken ownership, via RTO, of the destination domain. The RO may then know its initial policy and configuration. The destination device may have its own system configuration file and therefore possess the startup domains (e.g., device manufacturer's domain, as well as user/owner domain and the minimal set of pristine domains for future ownership) and possibly already existing remotely owned domains. The system wide domain policy (SDP) is not necessarily replicated across multiple devices having the same owner. It may be assumed that the remote owner of the source and destination domains has accepted the SDP of both devices before the migration is performed.

Entities involved in migration may include one or more of a user/owner, a system-wide domain manager associated with the source, a system-wide domain manager associated with the destination, a remote owner domain associated with the source, a remote owner domain associated with the destination, or a remote owner. A remote owner domain may also be referred to as a remotely owned domain.

A user may be a user of a device, e.g., a device that comprises one or more remote owner domains. The user may also be an owner of the device. The user may be registered with a remote owner of a remote owner domain. Credentials associated with the user may be loaded onto the remote owner domain to allow the user to access a service provided by the remote owner. The user may desire to migrate the credentials to another domain on the same device or a different device. The user may initiate migration of the credentials.

A remote owner (RO) may provide a service to the user via the device. The remote owner may provide credentials that may be required for the user to use the service. The credentials may include an authentication key K that may serve as a strong secret between a remote owner domain and the remote owner. As an example, A RO may be one or more of the following: an MNO, other communication network operator (e.g. WLAN, WiMax, etc.), an email service provider, an internet service provider, a social-networking service provider, a digital content (music, e-books, video, etc) provider, a gaming service provider, a financial services provider, an application service provider (e.g. a service provider in mobile payment, mobile ticketing, DRM, mobile TV, location-based services, etc.), or an IMS service provider, etc.

A remote owner domain (TD_(RO)) is a domain on a device that may provide functionality defined by the remote owner. A remote owner domain may be part of the THSM as described above, e.g., see FIG. 2. The remote owner domain may have TSIM functionality as described in relation to the RTO process described above. The remote owner domain may store credentials provided by the remote owner. The TD_(RO) may receive the user's ID and the process ID (IDU, PID_U) from the user domain and variously use this information during registration and credential roll-out. There may be a source remote owner domain (TD_(RO,S)) from which credentials will be migrated and a destination remote owner domain (TD_(RO,S)) to which the credentials will be migrated. For example, a user may initiate a transfer from a remote owner domain associated with a source device to a remote owner domain associated with a destination device.

A system-wide domain manager (SDM), e.g., the SDM disclosed in Section I., may provide attestation information relating to one or more platforms as part of the migration process. For example, an integrity indicator such as a semi-autonomous integrity confirmation may be provided by a SDM. The SDM may be part of the THSM, such as a component of a domain, e.g., see FIG. 2. A SDM may be combined with the trusted user domain and/or the trusted owner domain. There may be a source system-wide domain manager (SDM_(S)) associated with a source remote owner domain and a destination system-wide domain manager (SDM_(D)) associated with a destination remote owner domain.

Each of the first three equations below may include two parts, one for communications in the source device, and, the other for a similar communication in the destination device. These parts may be labeled 1 (source part) and 1 a (destination part), e.g., in the case of equation 1. Keys and certificates in these equations may be denoted similarly, even though they may represent different values in their respective parts. In equation 1, for example, the confidentiality and integrity keys may be denoted, respectively, K_(temp) _(—) _(C) and K_(temp) _(—) _(I) for both the source part (1) and destination part (1 a), even though they may represent distinct key sets. In another example, K_(SDM-Pub) and K_(SDM-Pnv) may represent distinct public-private key pairs in their source and destination usages, e.g., see 3 and 3 a.

Throughout migration, message signing and signature verification may be acknowledged. Public-private key pairs may be used to perform this security function, whereby the message is authenticated and integrity protected as well. Distribution of the public key corresponding to the secret signing key by the message signer via a trusted third party certificate may be included. For example, the third-party issued certificate denoted Cert_(TSIM) (denoted, respectively, Cert_(TSIMS) and Cert_(TSIMD) for source and destination remotely owned domains) may be used to deliver the public key K_(TSIM-pub) (depending, respectively, on the source or destination either K_(TSIMS-Pub) or K_(TSIMD-Pub)) to correspond to the private key K_(TSIM-Pnv) (either K_(TSIMS-Pnv) or K_(TSIMD-Priv)). The private key signs the SHA-X hash of the given message, making it of fixed length. The corresponding public key is used for signature verification.

User/owner communication with the platform may be performed through a terminal that is not shown in FIGS. 9A/9B or referenced in the equations. For both the source and destination devices, the pre-provisioned symmetric distinct key sets K_(temp) _(—) _(c) and K_(temp) _(—) _(I) may protect the communication between the terminal and THSM. When the user/owner communicates with the trusted user/owner domain (generically denoted SDM/TD_(U)/TD_(O)) on either the source or destination devices, such keys may be included.

Process ID management may not be employed in migration (e.g., because out-of-band messaging may not be available).

The notation SDM/TD_(U)/TD_(O) may be used to denote combined SDM and user/owner domains. It may represent separate entities, and in different parts of a migration, reference may be limited to the SDM, and, at other times, reference may be limited to user/owner domains, where the reference depends on the context. The context could, for example, be user/owner interactions involving migration request messaging that employs user ID and possibly a password, or they could be interactions over policy where involvement may be limited to the SDM. With similar notation user/owner may designate user/owner interactions and SDM may designate SDM interactions.

An integrity indicator, such as a semi-autonomous integrity indicator (SA-IV), may be used in a migration to evaluate trustworthiness levels of the source and destination devices. A semi-autonomous integrity indicator may comprise a list of modules within a device that fail to pass an integrity check. The notations SA-IV(src) and SA-IV(dest) may be employed to designate source and destination semi-autonomous integrity indicators.

A process identifier (Proc_ID) may be provided throughout the messaging associated with a migration to avoid ambiguity as to the source of the migration request and the follow-on messaging that may be required for the process. Message integrity protection via signature mechanism may prevent external tampering of this identity. The use of user ID and process ID may be expanded to include domain identifiers, e.g., to avoid ambiguity in the case where the user desires to migrate multiple domains. The following example may illustrate the case of a user migrating a single domain. However, the process is not limited thereto and may include the case of multiple domain migration.

The initial use of the user password (PW_(U)) may protect against user impersonation such that the initiation of a migration request may be limited to the legitimate user/owner.

Replay protection may be provided by the use of nonces throughout the protocol. The originator of a round trip communication may send a nonce to the intended recipient and the recipient may return that nonce to the originator as part of the signed hash. In some cases the nonce may be returned later in the protocol, such as the return of nonce4 by the RO in equation 7a after having received it from the source domain in equation 4. The nonces may be generally numbered consecutively according to the sequence, e.g., the nonce generated by the sender in step i may typically get the value noncei.

Certain instances in the below equations may show a returning nonce where the transfer of that nonce from the originator is not shown. It may be assumed that the nonce in each case was provided by the originator in an outgoing communication prior to the communications shown. Such an outgoing communication may have been limited to the required nonce. These omissions occur in the following instances:

i. nonce1 at 1 originating in SDM_(S)

ii. nonce1 a at 1 originating in SDM_(D)

iii. nonce2 d at 2 (equation 2) originating in TD_(RO,D)

iv. nonce2 s at 2 (equation 2a) originating in TD_(RO,S)

v. nonce4 c at 4 originating in RO

vi. nonce4 a at 7 originating in TD_(RO,D)

vii. nonce4 b at 5 originating in SDM_(D)

viii. nonce8 a at 8 originating in TD_(RO,D)

ix. nonce18 at 18 originating in the terminal

x. nonce20 at 20 originating in the terminal

FIGS. 9A and 9B illustrate exemplary call flows implementing credential migration. FIG. 9A illustrates an exemplary migration where integrity verification of the source and destination domains may be performed by the remote owner. FIG. 9B illustrates an exemplary migration where integrity verification of the source domain may be performed by the SDM_(D) and integrity verification of the destination domain may be performed by the SDM_(S).

Details relating to migration and related call flows, such as those in FIGS. 9A and 9B, are provided. As noted above, in the equations running through 3 a, generic notations may be used.

Referring to FIG. 9A, the exemplary migration may include a user that may also be the owner User/Owner 940, SDM_(S)/TD_(U,S)/TD_(O,S) 950, which may refer to one or more of SDM_(S), TD_(U,S), TD_(O,S), a source remote owner domain TD_(RO,S) 960, with similar references for the destination device, including TD_(RO,D) 970, and SDM_(D)/TD_(U,D)/TD_(O,D) 980. Prior to the migration, RO 990 (remote owner) may have completed an RTO of TD_(RO,D) 970 and know the initial policy and configuration of TD_(RO,D) 970.

At 1 and 1 a, a credential migration request may be made by User/Owner 940. Equations 1 and 1a show a communication for User/Owner 940, where User/Owner 940 may send login information and a migration request to, respectively, the source and destination user/owner domains (SDM_(S)/TD_(U,S)/TD_(O,S) 950 and SDM_(D)/TD_(U,D)/TD_(O,D) 980) to initiate the migration. The key K_(temp) _(—) _(C) encrypts the user password and K_(temp) _(—) _(I) signs the message. As stated above, K_(temp) _(—) _(C) and K_(temp) _(—) _(I) may protect communication across the interface of the terminal (not shown) and the THSM. The pre-provisioned symmetric key property may allow the source and destination domains to decrypt the password and verify the message signature. The user may provide login information (which may be the same for source and destination domains, e.g., the user may register once to a service with respect to both domains) to both the source and destination user/owner domains, where, for the destination, login credentials have been transferred. When the TSIM credentials are migrated, the transfer of the user registration profile may take place, e.g., at 16. Prior to 1, nonces 1 and 1 a may have been sent, respectively, by the source and destination SDMs to the terminal for use in the initial migration requests by User/Owner 940. This may provide replay prevention with the return of those nonces in step 1.

PW_(U) and ID_(U) may be associated with the domain TSIM being migrated. The same user may register with other remotely owned domains using different password and login ID credentials.

A system wide policy check may be performed by the respective SDMs to determine if a policy provision prohibits the migration from proceeding. The system level check may take into account possible conflicts among multiple domain remote owners should there be more than one such owner on either platform. For 1 and 1 a, the communicated information may require policy checks by the source and destination SDMs 950 and 980 and the processing of user login information by the source and destination trusted domains TD_(U,X)/TD_(O,X), 950 and 980, where X=S or D.

Package_(—)1=Domain Migration Request∥ID_(U)

User/Owner→SDM_(S)/TD_(U,S)/TD_(O,S)(1) & SDM_(D)/TD_(U,D)/TD_(O,D)(1a):

Package_(—)1∥{Password_(U) }K _(temp) _(—) _(C)[SHA-X(Package_(—)1∥nonce1(1a)∥Password_(U))]K _(temp) _(—) _(I)

Note: K _(temp) _(—) _(C) & K_(temp) _(—) _(I) are generic to represent two distinct key sets,  Equations 1 & 1a

In an embodiment, the migration request may be submitted to the source, but not the destination. For example, the device with the destination domain may not yet be sold to the User/Owner 940, and migration may be made part of the sales process, e.g., the seller may keep the device until he receives the user domain, which he takes ‘hostage’ until payment. In this case, the destination device may keep the received domain in an inactive state until a first user login. This first user login may need to be handled by another domain (the device manufacturer domain TD_(DM)), which may obtain a user authenticated message from the received user domain TD_(U); then, TD_(DM) may activate TD_(U) on the destination device.

At 2 and 2 a, the user/owner domains (SDM_(S)/TD_(U,S)/TD_(O,S) 950 and SDM_(D)/TD_(U,D)/TD_(O,D) 980) may transfer the domain migration request message, initiated by the user, to the ROs source and destination domains (TD_(RO,S) 960 and TD_(RO,D) 970), e.g., in, respectively, equations 2a and 2. The user identification ID_(U) may be required for service authorization checks. A process ID (Proc_ID) is created to eliminate potential ambiguity among multiple users making simultaneous requests for various services (e.g., see 4). The association between Proc_ID and the user ID ID_(U) may not be explicitly shown. The public key K_(SDM-Pub) may be passed to the source and destination domains (TD_(RO,S) 960 and TD_(RO,D) 970) via the certificate Cert_(SDM). The source and destination domains (TD_(RO,S) 960 and TD_(RO,D) 970) verify the message signature using K_(SDM-Pub). The message may be signed by K_(SDM-Pnv) for source and destination transfers. The nonces, nonce2 d and nonce2 s, may be assumed to have been passed earlier by, respectively, the destination and source domains to their respective SDMs. The signature and transfer operations may be performed by the functionality associated with the user/owner source and destination domains.

At 2 b and 2 c, the respective source and destination domains (TD_(RO,S) 960 and TD_(RO,D) 970) may perform checks to determine if policy conflicts regarding migration exist on the domain level. System-wide or domain level policy conflicts may block a migration, e.g., at 3, a negative acknowledgement (NACK) to prevent the continuation of the protocol may be sent.

Package_(—)2=Initial TSIM Domain Migration Request∥ID_(U)∥nonce2(2a)∥nonce2 b (note: nonce2(2b) passed in equation 2, nonce2a passed in equation 2a.)

SDM_(D)/TD_(U,D)/TD_(O,D)→TD_(RO,D)(2) & SDM_(S)/TD_(U,S)/TD_(O,S)→TD_(RO,S)(2a):

Package_(—)2∥Cert_(SDM)∥[SHA-X(Package_(—)2∥nonce2d(s))]K _(SDM-Priv)

Note: Cert_(SDM) & K _(SDM-Priv) are generic to represent the certificate and private signing key for the source and destination SDMs  Equations 2 & 2a

At 3 and 3 a, the source and destination domains (TD_(RO,S) 960 and TD_(RO,D) 970) respond to the migration requests, respectively 1 and 1 a, with positive (ACK) or negative (NACK) acknowledgements. If the source or destination user/owner domains (SDM_(S)/TD_(U,S)/TD_(O,S) 950 and SDM_(D)/TD_(U,D)/TD_(O,D) 980) receive a NACK, indicating that the policy for that remotely owned domain prohibits this migration request, the migration is terminated. If both receive ACKs the process may continue. The user/owner domains in equations 3 and 3a may verify their message signatures with their respective versions of the public key K_(TSIM-Pub), which may be obtained via their certificates, Cert_(TSIM). As shown, the messages may be signed using K_(TSIM-Pnv).

Package_(—)3=ACK/NACK on Migration Service Availability∥ID_(U)∥nonce(3a) (note: nonce3a, in equation 3a only, to be returned in equation 3b)

TD_(RO,D)→SDM_(D)/TD_(U,D)/TD_(O,D)(3) & TD_(RO,S)→SDM_(S)/TD_(U,S)/TD_(O,S)(3a):

Package_(—)3∥Cert_(TSIM)∥[SHA-X(Package_(—)3∥nonce2(2a))]K _(TSIM-Priv)

Note: Cert_(TSIM) & K _(TSIM-Pnv) are generic to represent the certificate and private signing key for the source and destination domains Equations 3 & 3a

At 3 b, TD_(RO,S) 960 may receive a permission granted message from the user owner domain SDM_(S)/TD_(U,S)/TD_(O,S) 950. (Starting with equation 3b, notational distinctions are made between source and destination key sets and their corresponding certificates). The signature of the message may be verified using the public key K_(SDMS-Pub), obtain by TD_(RO,S) 960 from the certificate Cert_(SDM) (Cert_(SDMS)), e.g., delivered in equation 2a.

Package_(—)3b=Permission Granted∥nonce3b∥nonce3c∥ID_(U)

SDM_(S)/TD_(U,S)/TD_(O,S)→TD_(RO,S):

Package_(—)3b∥[SHA-X(Package_(—)3b∥nonce3 a)]K _(SDMS-Priv)

At 4, TD_(RO,S) 960 may send a message alerting RO 990 that migration is being requested. The message may indicate to check on the policy, configuration status, and SA-IV of the source and destination domains (TD_(RO,S) 960 and TD_(RO,D) 970), e.g., see 2, the transfer of ID_(U) and Device ID to RO 990 may be used for authorization checking purposes. The message signature may be checked and verified using the public key K_(TSIMS-Pub) received in the certificate Cert_(TSIMS). If the source domain does not grant the request for migration, the process may be terminated, e.g., the message in equation 4 is not sent. However, it may be possible for the source to grant permission for the migration with the destination domain simultaneously denying permission, which may lead to a race condition. In such an event, the process may be terminated or possibly renegotiated, e.g., at 6. If it should occur that the source does not grant permission but the destination does, that active process initiated by the destination domain may time out after a certain pre-defined period.

Package_(—)4=Request Check on Policy & Configuration∥Proc_ID∥Source Device ID∥nonce3c∥nonce4

TD_(RO,S)→RO:

Package_(—)4∥Cert_(TSIMS)∥[SHA-X(Package_(—)4∥nonce4c)]K _(TSIMS-Priv)  Equation 4

At 5 and 5 a, RO 990 may request policy and configuration information from the source and destination SDM (SDM_(S)/TD_(U,S)/TD_(O,S) 950 and SDM_(D)/TD_(U,D)/TD_(O,D) 980) respectively. For example, RO 990 may request configuration, device ID, SA-IV information, and migration policy from the source and destination domains. The SDMs, which manage the system wide domain policies, may receive the request and prepare their respective responses for RO 990. The message signature, for both messages, may be verified using the public key K_(RO-Pub) obtained in Cert_(RO).

Package_(—)5=Request Domain Policy & Configuration for Migration∥Request device ID(dest)∥Request SA-IV(dest)∥nonce5∥Proc_ID

RO→SDM_(D)/TD_(U,D)/TD_(O,D):

Package_(—)5∥Cert_(RO)∥[SHA-X(Package_(—)5∥nonce4 b)]K _(RO-priv)

Package_(—)5a=Request Domain Policy & Configuration for Migration∥Request device ID(src)∥Request SA-IV(src)∥nonce5a∥nonce5b∥Proc_ID

RO→SDM_(S)/TD_(U,S)/TD_(O,S):

Package_(—)5a∥Cert_(RO)∥[SHA-X(Package_(—)5a∥nonce3c)]K _(RO-Priv)  Equations 5 & 5a

At 6 and 6 a, the SDMs (SDM_(S)/TD_(U,S)/TD_(O,S) 950 and SDM_(D)/TD_(U,D)/TD_(O,D) 980) send the requested information to RO 990. If a migration is prohibited by the destination domain TD_(RO,D) 970, a NACK message is returned to RO 990 and the process is terminated. In this instance, RO 990 may request additional information from the destination SDM (SDM_(D)/TD_(U,D)/TD_(O,D) 980) to learn why the migration is disallowed. From the request at 4 it may be understood that the source domain has previously granted permission. There may be a potential negotiation between RO 990 and an SDM to determine if a modified domain configuration (e.g., a modification of services) is acceptable to it. The acceptability of the modification may be determined, for example, by the owner of the devices (e.g., assuming a user different from the owner is initiating the migration) or another remote owner whose domain policy prohibited the original configuration. If the negotiation fails, the migration may be terminated without further communication, and the migration process activated by the source domain may time-out after a pre-determined period. Otherwise, the migration may proceed, and, a modification to the destination domain may trigger another RTO of that domain.

Still referring to 6 and 6 a, RO 990 may receive Proc_ID and the source and destination device IDs to associate the process with the two devices. Authorization checking for the registered services may take place. With the reception of SA-IV(src & dest) the integrity of both devices may be verified. Acceptability of the configurations may also be evaluated.

RO 990 may verify the signatures with the public keys K_(SDMD-Pub) and K_(SDMS-Pub) obtained, respectively, from the certificates Cert_(SDMD) and Cert_(SDMD).

Package_(—)6=Policy & Configuration Information or NACK∥SA-IV (dest)∥Proc_ID∥Destination Device ID

SDM_(D)/TD_(U,D)/TD_(O,D)→RO:

Package_(—)6∥Cert_(SDMD)∥[SHA-X(Package_(—)6∥nonce5)]K _(SDMD-Priv)

Package_(—)6a=Policy & Configuration Information∥SA-IV(src)∥Proc_ID∥Source Device ID

SDM_(S)/TD_(U,S)/TD_(O,S)→RO:

Package_(—)6a∥Cert_(SDMS)∥[SHA-X(Package_(—)6a∥nonce5a)]K _(SDMS-Priv)  Equations 6 & 6a

In an embodiment, the request for domain configurations and policy may be omitted, since such information may be obtained from an RTO process that may have taken place by the time migration occurs.

At 6 b, RO 990 may check the acceptability of the policy, configuration, and trustworthiness of the source and destination domains (TD_(RO,S) 960 and TD_(RO,D) 970). Based on its evaluation of the configurations policies, and integrity indicators received from the source and destination domains at 6 and 6 a (which may assume no NACKs), RO 990 may decide to either proceed with or terminate the migration. If proceeding, at 7 and 7 a, a message to proceed may be sent to TD_(RO,S) 960 and TD_(RO,D) 970 respectively. If RO 990 finds the current configuration unacceptable (e.g., the configuration may have changed since the initial RTO), it may terminate the migration with no negotiation or negotiate a new configuration and policy which is acceptable to the parties and allows continuation. The message may be verified with the public key K_(RO-Pub) obtained from Cert_(RO).

In an exemplary variation related to 5, 5 a, 6, and 6 a, the integrity status of the source and the destination domains may not be checked by RO 990. The integrity status may be checked by the domains themselves. That is, the integrity status of the source domain may be checked by the destination domain, and vice versa. This may assume that the domains are capable proxies for RO 990 in terms of their capability to check the integrity status of other domains.

Package_(—)7=Proceed with Domain Migration or Request Denied∥nonce7∥Proc_ID

RO→TD_(RO,D):

Package_(—)7∥Cert_(RO)∥[SHA-X(Package_(—)7∥nonce4a)]K _(RO-Priv),

Package_(—)7a=Proceed with Domain Migration or Request Denied∥Proc_ID

RO→TD_(RO,S):

Package_(—)7∥Cert_(RO)∥[SHA-X(Package_(—)7∥nonce4)]K _(RO-Priv)  Equation 7 & 7a

At 8, TD_(RO,S) 960 may send a message to TD_(RO,D) 970 to activate migration service, e.g., following a determination by RO 990 that the configurations, levels of trustworthiness and policies for the source and destination are acceptable for migration. A domain state request may be issued. The recipient may verify the signature with the public key K_(TSIMS-Pub) carried in the certificate Cert_(TSIMS).

Package_(—)8=Activate Migration Service∥Request state∥nonce8∥Proc_ID

TD_(RO,S)→TD_(RO,D):

Package_(—)8∥Cert_(TSIMS)∥[SHA-X(Package_(—)8∥nonce8a)]K _(TSIMS-Priv)  Equation 8

At 9-12, one or more actions may be taken to determine a state of readiness of the source and destination for the transfer of the domain credentials. It may be assumed that RO 990 has evaluated the trustworthiness of the source and destination domains and deemed them suitable for the protocol to proceed. At 9, TD_(RO,D) 970 may request state information (e.g., describing a state of the domain's available memory) from the destination user/owner domain (SDM_(D)/TD_(U,D)/TD_(O,D) 980). At 9 a, the destination user/owner domain (SDM_(D)/TD_(U,D)/TD_(O,D) 980) may provide the state information. Signature verification may be performed with the public key K_(SDMD-Pub) obtained in Cert_(SDMD) (e.g., shown at 2 as Cert_(SDM)). Equations 9 and 9a show the destination domain acquiring its own state following the request for that information in equation 8.

Package_(—)9=Request Destination State∥ID_(U)∥nonce9

TD_(RO,D)→SDM_(D)/TD_(U,D)/TD_(O,D):

Package_(—)9∥[SHA-X(Package_(—)9∥nonce2b)]K _(TSIMD-Priv)  Equation 9

Package_(—)9a=Destination Domain State∥Proc_ID∥SDM_(D)/TD_(U,D)/TD_(O,D)→TD_(RO,D):

Package_(—)9a∥[SHA-X(Package_(—)9a∥nonce9)]K _(SDMD-Priv)  Equation 9a

At 10, TD_(RO,D) 970 may provide the state information to TD_(RO,S) 960, e.g., in equation 10, the destination domain provides the source with the requested state information. At 10 a, the source domain may perform a check on the destination state information. For example, the source domain may decide to proceed, delay or terminate. If the destination state information indicates an acceptable state of readiness (e.g., an acceptable state regarding memory and functional capabilities), the source domain may decide to proceed. If the destination state information indicates an unacceptable state of readiness, the source domain may decide to delay migration until a download of required software is completed.

Package_(—)10=Destination Domain State∥Request Source Domain State∥nonce10∥Proc_ID

TD_(RO,D)→TD_(RO,S):

Package_(—)10∥Cert_(TSIMD)∥[SHA-X(Package_(—)10∥nonce8)]K _(TSIMD-Priv)  Equation 10

At 11, TD_(RO,S) 960 may request state information (e.g., describing a state of the migration functionality such as the version of the required software) from the source user/owner domain (SDM_(S)/Tp_(U,S)/TD_(O,S) 950). At 11 a, the source user/owner domain (SDM_(S)/TD_(U,S)/TD_(O,S) 950) may provide the state information. Equations 11 and 11a provide a similar process, with respect to the source, of equations 9 and 9a. This information may be passed to the destination domain for its assessment of the readiness of the source as described below.

The source user/owner domain may verify the signature of the message (equation 11) with the public key K_(TSIMS-Pub) obtained in Cert_(TSIMS) (e.g., see 3). In equation 11a the signature is verified with the public key K_(SDMS-Pub) obtained in Cert_(SDMS) in step 3. From 12 onward, explicit reference may not be made to signature verification. Signatures may be shown using the appropriate signing key and certificate passing is also indicated where appropriate. In each of these cases, the public key as indicated in the foregoing steps may be used to verify the relevant signature.

Package_(—)11=Destination Domain State∥Request Source Domain State∥Proc_ID∥nonce2a∥nonce11

TD_(RO,S)→SDM_(S)/TD_(U,S)/TD_(O,S):

Package_(—)11∥[SHA-X(Package_(—)11∥nonce3b)]K _(TSIMS-Priv)

Package_(—)11a=Proceed with Migration, delay etc.∥Source Domain State∥Proc_ID∥nonce11a

SDM_(S)/TD_(U,S)/TD_(O,S)→TD_(RO,S):

Package_(—)11a∥[SHA-X(Package_(—)11a∥nonce11)]K _(SDMS-Priv)

At 12, TD_(RO,S) 960 may provide the state information to TD_(RO,D) 970, e.g., equation 12 shows the source providing its state to the destination. Equation 12 may also pass a migration OK message. A delay message could be substituted if a state change is required before migration can proceed.

At 12 a, the destination domain may perform a check on the source state information. For example, the destination domain may decide to proceed, delay or terminate. If the source state information indicates an acceptable state of readiness (e.g., an acceptable up-to-date migration software), the destination domain may decide to proceed. If the source state information indicates an unacceptable state, the destination domain may decide to delay migration until the required migration software is downloaded.

Package_(—)12=State(src)∥Migration OK∥nonce12∥Proc_ID

TD_(RO,S)→TD_(RO,D):

Package_(—)12∥[SHA-X(Package_(—)12∥nonce10)]K _(TSIMS-Priv)  Equations 12

In an embodiment, instead of checking the state of the source domain as described at 9-12, the destination domain could check the received package later on after the packages are received. A full package may then first need to be forwarded to the destination SDM and checked against a known Integrity Verification (IV) reference. An IV resulting from secure boot may be different from an IV calculated from a migration configuration package.

At 13, TD_(RO,D) 970 may send a request for the TD_(RO,S) 960 to send the credentials (e.g., in a “send credentials” message). The message at 13 may be sent when 10 a and 12 a indicate that migration is acceptable. At 13 a, TD_(RO,S) 960 may send credentials to TD_(RO,D) 970. At 13 b, TD_(RO,D) 970 may be configured with the migrated credentials. Should a delay message have been sent, a time-out may occur, e.g., if the process does not resume within the limits of the source and destination timers.

Package_(—)13=Send Credentials∥nonce13∥Proc_ID

TD_(RO,D)→TD_(RO,S)(13):

Package_(—)13∥[SHA-X(Package_(—)13∥nonce12)]K _(TSIMD-Priv)

Package_(—)13a=nonce13a∥Proc_ID

TD_(RO,S)→TD_(RO,D)(13a):

{Credentials}K _(TSIMD-Pub)∥Package_(—)13a∥[SHA-X(Package_(—)13a∥Credentials∥nonce13)]K _(TSIMS-Priv)  Equation 13 & 13a

At 14-20, a cleanup process may be implemented. Equations 14 through 20 comprise messages that execute cleanup whereby acknowledgements may be exchanged that the migration has taken place and a credential destruction process within the source domain (if the RO's policy dictates destruction of the old credential on the source domain) is to take place pending a policy check that such destruction is allowed.

At 14, TD_(RO,D) 970 send a migration confirmation message to TD_(RO,S) 960, which may indicate that the credentials on TD_(RO,S) 960 are to be destroyed. Equation 14 shows the acknowledgement from the destination domain to the source that the migration has occurred and the destination device has been reconfigured as per the newly migrated credentials. A request to destroy the old credentials (credentials in the source domain) is included. It may be assumed that during a previous RTO process, a negotiation may have taken place where the source device's SDM (as a proxy for the source device owner) and the RO have mutually agreed on any post-migration destruction or continuing storage of the credential on the source domain.

Package_(—)14=Migration done∥destroy old credentials∥Proc_ID

TD_(RO,D)→TD_(RO,S):

Package_(—)14∥[SHA-X(Package_(—)14∥nonce13a)]K _(TSIMD-Priv)  Equation 14

Following the transfer of the credentials a system wide policy check on credential destruction by the source SDM may be needed. At 15, a message may be sent from TD_(RO,S) 960 to the source SDM (SDM_(S)/TD_(U,S)/TD_(O,S) 950) to perform a policy check relating to credential destruction. At 15 a, the policy check may be performed. Equation 15 shows the message indicating a request by the source domain to the SDM_(S) to perform such a check.

Package_(—)15=Migration done∥Check Policy on Cred Destruction∥Send User Data∥Proc_ID

TD_(RO,S)→SDMS/TDU,S/TDO,S:

Package_(—)15∥[SHA-X(Package_(—)15∥nonce11a)]K _(TSIMS-Priv)  Equation 15

At 16, the source user/owner domain (SDM_(S)/TD_(U,S)/TD_(O,S) 950) may send user data to the destination user/owner domain (SDM_(D)/TD_(U,D)/TD_(O,D) 980). In equation 16, user registration data is transferred from source to destination domains. REGDATA represents the user profile that contains subscriber information related to the migrated credentials. A minimal subscriber profile may be used to allow user login to the destination device for access to the destination domain and launching of the protocol.

Package_(—)16=REGDATA_(U)∥Proc_ID

SDM_(S)/TD_(U,S)/TD_(O,S)→SDM_(D)/TD_(U,D)/TD_(O,D):

{Password_(U)}K_(SDMD-Pub)∥Cert_(SDMS)∥Package_(—)16∥[SHA-X(Package_(—)16∥nonce16)]K _(SDMS-Priv)  Equation 16

At 17, the source user/owner domain (SDM_(S)/TD_(U,S)/TD_(O,S) 950) may send a message to RO 990 indicating that migration is completed and whether the migrated credentials have been destroyed on the source (e.g., on TD_(RO,S) 960). Equation 17 confirms credential destruction to the RO, assuming that credential destruction does not violate system policy. If credential destruction is not allowed by source system policy, then a possible resolution mechanism may require the RO to determine if the same credentials can co-exist on separate devices.

Package_(—)17=Migration Complete∥Credentials Destroyed(Y/N)∥Proc_ID

SDM_(S)/TD_(U,S)/TD_(O,S)→RO:

Package_(—)17∥[SHA-X(Package_(—)15∥nonce5b)]K _(SDMS-Priv)  Equation 17

At 18, the source domain may notify the user/owner that migration is complete and that credential destruction has been performed on the source device. In the event that source credentials have been destroyed, the user may no longer access the services to which the user subscribed on the source device. The use of those services has now been transferred to the new platform. The pre-provisioned key K_(temp) _(—) _(I) (e.g., see 1) may be used to sign the message (e.g., communications across the terminal/THSM link may require the use of K_(temp) _(—) _(C) for confidentiality and K_(temp) _(—) _(I) for integrity and authentication).

Package_(—)18=Migration transmittal & Src Cred. Destruction done∥Proc_ID

TD_(RO,S)→User/Owner:

Package_(—)18∥[SHA-X(Package_(—)18∥nonce18)]K _(temp) _(—) _(I)  Equation 18

At 19, TD_(RO,D) 970 may send a message to RO 990 indicating that it has received the credentials and configuration has been performed. Equation 19 informs the RO that the destination domain has been reconfigured as per the migrated credentials. The user can now access services on the destination device, e.g., the services that were previously available on the source device.

Package_(—)19=Migration reception & configuration done∥Proc_ID

TD_(RO,D)→RO:

Package_(—)19∥Cert_(TSIMD)∥[SHA-X(Package_(—)19∥nonce7)]K _(TSMID-Priv)  Equation 19

At 20, a message is sent from TD_(RO,D) 970 to User/Owner 940 indicating that TD_(RO,D) 970 has received the credentials and performed configuration. Acknowledgement may be provided by both devices that migration is complete. The notified entities may include the user/owner and the RO. Similar to equation 18, where the user is notified of credential transfer, equation 20 informs the user that reconfiguration on the destination device is complete. This may represent an alert to the user that services to which the user has subscribed are now accessible on the destination platform. As in equation 18, the signing key is K_(temp) _(—) _(I), where here the key is associated with the destination device. It may be assumed that the pre-provisioned key set K_(temp) _(—) _(C) and K_(temp) _(—) _(I) are separate and distinct between source and destination devices.

Package_(—)20=Migration reception & configuration done∥Proc_ID

TD_(RO,D)→User/Owner:

Package_(—)20∥[SHA-X(Package_(—)20∥nonce20)]K _(temp) _(—) _(I)

FIG. 9B is a call flow diagram for TSIM domain migration with similarities to FIG. 9A. However, as illustrated in 9-12, FIG. 9B illustrates a case where integrity verification of the source may be performed by the SDM of the destination device, and, integrity verification of the destination domain may be performed by the SDM of the source device.

At 9, a message may be sent from TD_(RO,D) 970 to TD_(RO,S) 960 requesting integrity verification information from the source. At 9 a, the request may be passed from TD_(RO,S) 960 to the source SDM (SDM_(S)/TD_(U,S)/TD_(O,S) 950). At 9 b, source SDM (SDM_(S)/TD_(U,S)/TD_(O,S) 950) gets the integrity verification information. At 10, the integrity verification information may be sent from the source SDM (SDM_(S)/TD_(U,S)/TD_(O,S) 950) to TD_(RO,S) 960. At 10 a, the source integrity verification information may be sent from TD_(RO,S) 960 to TD_(RO,D) 970. At 11, the source integrity verification information may be sent from TD_(RO,D) 970 to destination SDM (SDM_(D)/TD_(U,D)/TD_(O,D) 980). In messages 10 a and 11 a request for destination integrity verification information, originating with TD_(RO,S), may be sent to TD_(RO,D) and then to the destination SDM SDM_(D)/TD_(U,D)/TD_(O,D) 980. At 11 a, the destination SDM (SDM_(D)/TD_(U,D)/TD_(O,D) 980) checks the source integrity verification information and prepares the destination integrity verification information. At 11 b, a message is sent from destination SDM (SDM_(D)/Tp_(U,D)/TD_(O,D) 980) to TD_(RO,D) 970 indicating whether to proceed with the migration or terminate based on the check of the source integrity verification information, as well as forwarding the destination integrity verification information. Flows 12-12C represent similar flows with the roles of the source and destination reversed.

FIG. 9C is a diagram of an example communications system 900 in which one or more disclosed embodiments may be implemented. The communications system 900 may be a multiple access system that provides content, such as voice, data, video, messaging, broadcast, etc., to multiple wireless users. The communications system 900 may enable multiple wireless users to access such content through the sharing of system resources, including wireless bandwidth. For example, the communications systems 900 may employ one or more channel access methods, such as code division multiple access (CDMA), time division multiple access (TDMA), frequency division multiple access (FDMA), orthogonal FDMA (OFDMA), single-carrier FDMA (SC-FDMA), and the like.

As shown in FIG. 9C, the communications system 900 may include wireless transmit/receive units (WTRUs) 902 a, 902 b, 902 c, 902 d, a radio access network (RAN) 904, a core network 906, a public switched telephone network (PSTN) 908, the Internet 910, and other networks 912, though it will be appreciated that the disclosed embodiments contemplate any number of WTRUs, base stations, networks, and/or network elements that may include, but are not limited to, relay nodes, gateways, femto cell base stations, set-top boxes, etc. Each of the WTRUs 902 a, 902 b, 902 c, 902 d may be any type of device configured to operate and/or communicate in a wireless environment. By way of example, the WTRUs 902 a, 902 b, 902 c, 902 d may be configured to transmit and/or receive wireless signals and may include user equipment (UE), a mobile station, a fixed or mobile subscriber unit, a pager, a cellular telephone, a personal digital assistant (PDA), a smartphone, a laptop, a netbook, a tablet, a personal computer, a wireless sensor, consumer electronics, and the like.

The communications systems 900 may also include a base station 914 a and a base station 914 b. Each of the base stations 914 a, 914 b may be any type of device configured to wirelessly interface with at least one of the WTRUs 902 a, 902 b, 902 c, 902 d to facilitate access to one or more communication networks, such as the core network 906, the Internet 910, and/or the networks 912. By way of example, the base stations 914 a, 914 b may be a base transceiver station (BTS), a Node-B, an eNode B, a Home Node B, a Home eNode B, a site controller, an access point (AP), a wireless router, a wireless-capable set-top box, a wireless-capable home gateway, a relay node, and the like. While the base stations 914 a, 914 b are each depicted as a single element, it will be appreciated that the base stations 914 a, 914 b may include any number of interconnected base stations and/or network elements.

The base station 914 a may be part of the RAN 904, which may also include other base stations and/or network elements (not shown), such as a base station controller (BSC), a radio network controller (RNC), relay nodes, etc. The base station 914 a and/or the base station 914 b may be configured to transmit and/or receive wireless signals within a particular geographic region, which may be referred to as a cell (not shown). The cell may further be divided into cell sectors. For example, the cell associated with the base station 914 a may be divided into three sectors. Thus, in one embodiment, the base station 914 a may include three transceivers, i.e., one for each sector of the cell. In another embodiment, the base station 914 a may employ multiple-input multiple output (MIMO) technology and, therefore, may utilize multiple transceivers for each sector of the cell.

The base stations 914 a, 914 b may communicate with one or more of the WTRUs 902 a, 902 b, 902 c, 902 d over an air interface 916, which may be any suitable wireless communication link (e.g., radio frequency (RF), microwave, infrared (IR), ultraviolet (UV), visible light, etc.). The air interface 916 may be established using any suitable radio access technology (RAT).

More specifically, as noted above, the communications system 900 may be a multiple access system and may employ one or more channel access schemes, such as CDMA, TDMA, FDMA, OFDMA, SC-FDMA, and the like. For example, the base station 914 a in the RAN 904 and the WTRUs 902 a, 902 b, 902 c may implement a radio technology such as Universal Mobile Telecommunications System (UMTS) Terrestrial Radio Access (UTRA), which may establish the air interface 916 using wideband CDMA (WCDMA). WCDMA may include communication protocols such as High-Speed Packet Access (HSPA) and/or Evolved HSPA (HSPA+). HSPA may include High-Speed Downlink Packet Access (HSDPA) and/or High-Speed Uplink Packet Access (HSUPA).

In another embodiment, the base station 914 a and the WTRUs 902 a, 902 b, 902 c may implement a radio technology such as Evolved UMTS Terrestrial Radio Access (E-UTRA), which may establish the air interface 916 using Long Term Evolution (LTE) and/or LTE-Advanced (LTE-A).

In other embodiments, the base station 914 a and the WTRUs 902 a, 902 b, 902 c may implement radio technologies such as IEEE 802.16 (i.e., Worldwide Interoperability for Microwave Access (WiMAX), CDMA2000, CDMA2000 lx, CDMA2000 EV-DO, Interim Standard 2000 (IS-2000), Interim Standard 95 (IS-95), Interim Standard 856 (IS-856), Global System for Mobile communications (GSM), Enhanced Data rates for GSM Evolution (EDGE), GSM EDGE (GERAN), and the like.

The base station 914 b in FIG. 9C may be a wireless router, Home Node B, Home eNode B, or access point, for example, and may utilize any suitable RAT for facilitating wireless connectivity in a localized area, such as a place of business, a home, a vehicle, a campus, and the like. In one embodiment, the base station 914 b and the WTRUs 902 c, 902 d may implement a radio technology such as IEEE 802.11 to establish a wireless local area network (WLAN). In another embodiment, the base station 914 b and the WTRUs 902 c, 902 d may implement a radio technology such as IEEE 802.15 to establish a wireless personal area network (WPAN). In yet another embodiment, the base station 914 b and the WTRUs 902 c, 902 d may utilize a cellular-based RAT (e.g., WCDMA, CDMA2000, GSM, LTE, LTE-A, etc.) to establish a picocell or femtocell. As shown in FIG. 9C, the base station 914 b may have a direct connection to the Internet 910. Thus, the base station 914 b may not be required to access the Internet 910 via the core network 906.

The RAN 904 may be in communication with the core network 906, which may be any type of network configured to provide voice, data, applications, and/or voice over internet protocol (VoIP) services to one or more of the WTRUs 902 a, 902 b, 902 c, 902 d. For example, the core network 906 may provide call control, billing services, mobile location-based services, pre-paid calling, Internet connectivity, video distribution, etc., and/or perform high-level security functions, such as user authentication. Although not shown in FIG. 9C, it will be appreciated that the RAN 904 and/or the core network 906 may be in direct or indirect communication with other RANs that employ the same RAT as the RAN 904 or a different RAT. For example, in addition to being connected to the RAN 904, which may be utilizing an E-UTRA radio technology, the core network 906 may also be in communication with another RAN (not shown) employing a GSM radio technology.

The core network 906 may also serve as a gateway for the WTRUs 902 a, 902 b, 902 c, 902 d to access the PSTN 908, the Internet 910, and/or other networks 912. The PSTN 908 may include circuit-switched telephone networks that provide plain old telephone service (POTS). The Internet 910 may include a global system of interconnected computer networks and devices that use common communication protocols, such as the transmission control protocol (TCP), user datagram protocol (UDP) and the internet protocol (IP) in the TCP/IP internet protocol suite. The networks 912 may include wired or wireless communications networks owned and/or operated by other service providers. For example, the networks 912 may include another core network connected to one or more RANs, which may employ the same RAT as the RAN 904 or a different RAT.

Some or all of the WTRUs 902 a, 902 b, 902 c, 902 d in the communications system 900 may include multi-mode capabilities, i.e., the WTRUs 902 a, 902 b, 902 c, 902 d may include multiple transceivers for communicating with different wireless networks over different wireless links. For example, the WTRU 902 c shown in FIG. 9C may be configured to communicate with the base station 914 a, which may employ a cellular-based radio technology, and with the base station 914 b, which may employ an IEEE 802 radio technology. 

What is claimed:
 1. In a system comprising one or more devices, each of which comprise one or more domains, each domain comprising a configuration of computing resources executing on the one or more devices and each domain being configured to perform functions for an owner of the domain that may be located locally or remotely from the domain, wherein each domain may have a different owner, and wherein at least one domain is owned by a user of said one or more devices, and wherein at least one other domain is owned by a remote owner, a method comprising: receiving a message indicating that a migration has been requested, wherein at least one of a first domain or a credential associated with the first domain is migrated from a source device to a destination device; evaluating source information received from the source device and destination information received from the destination device; determining that the migration is acceptable based on the evaluating; and sending an indication to proceed with the migration.
 2. The method of claim 1, wherein: the source information includes at least one of: a source policy, a source configuration, a source identification, or a source integrity indicator; and the destination information includes at least one of: a destination policy, a destination configuration, a destination identification, or a destination integrity indicator.
 3. The method of claim 1, further comprising: evaluating a remote owner policy; and determining that the migration is acceptable based on the remote owner policy.
 4. The method of claim 1, wherein the source information indicates that a source system-wide domain manager has approved the migration.
 5. The method of claim 4, wherein the source information further indicates that the migration does not violate a first policy associated with the first domain and a second policy associated with a second domain of the source device, wherein the first domain is owned by a first remote owner and the second domain is owned by a second remote owner.
 6. The method of claim 1, further comprising: receiving a source completion message indicating that the migration has been completed and whether the source device destroyed the credential; and receiving a destination completion message indicating that the migration has been completed, wherein at least one of the first domain or the credential was replicated on a domain of the destination device.
 7. The method of claim 6, wherein: the source completion message indicates that a source system-wide domain manager has verified a state of the destination device; and the destination completion message indicates that a destination system-wide domain manager has verified a state of the source device.
 8. The method of claim 6, wherein: the source completion message indicates that a source system-wide domain manager has verified an integrity of the destination device; and the destination completion message indicates that a destination system-wide domain manager has verified an integrity of the source device.
 9. The method of claim 1, wherein the message indicates that the migration was requested by a user.
 10. A system comprising: one or more devices, each of which comprise one or more domains, each domain comprising a configuration of computing resources executing on the one or more devices and each domain being configured to perform functions for an owner of the domain that may be located locally or remotely from the domain, wherein each domain may have a different owner, and wherein at least one domain is owned by a user of said one or more devices, and wherein at least one other domain is owned by a remote owner, and wherein at least one of the one or more devices is configured to: receive a message indicating that a migration has been requested, wherein at least one of a first domain or a credential associated with the first domain is migrated from a source device to a destination device; evaluate source information received from the source device and destination information received from the destination device; determine that the migration is acceptable based on the evaluating; and send an indication to proceed with the migration.
 11. The method of claim 10, wherein: the source information includes at least one of: a source policy, a source configuration, a source identification, or a source integrity indicator; and the destination information includes at least one of: a destination policy, a destination configuration, a destination identification, or a destination integrity indicator.
 12. The method of claim 10, wherein the at least one of the one or more devices is further configured to: evaluate a remote owner policy; and determine that the migration is acceptable based on the remote owner policy.
 13. The method of claim 10, wherein the source information indicates that a source system-wide domain manager has approved the migration.
 14. The method of claim 13, wherein the source information further indicates that the migration does not violate a first policy associated with the first domain and a second policy associated with a second domain of the source device, wherein the first domain is owned by a first remote owner and the second domain is owned by a second remote owner.
 15. The method of claim 10, wherein the at least one of the one or more devices is further configured to: receive a source completion message indicating that the migration has been completed and whether the source device destroyed the credential; and receive a destination completion message indicating that the migration has been completed, wherein at least one of the first domain or the credential was replicated on a domain of the destination device.
 16. The method of claim 15, wherein: the source completion message indicates that a source system-wide domain manager has verified a state of the destination device; and the destination completion message indicates that a destination system-wide domain manager has verified a state of the source device.
 17. The method of claim 15, wherein: the source completion message indicates that a source system-wide domain manager has verified an integrity of the destination device; and the destination completion message indicates that a destination system-wide domain manager has verified an integrity of the source device.
 18. The method of claim 10, wherein the message indicates that the migration was requested by a user. 